mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-23 22:40:20 +08:00
fix: remove unnecessary integrity
and crossorigin
attributes in dev center when linking to jquery
This commit is contained in:
parent
c5cd8cc219
commit
8dec78b090
@ -35,8 +35,6 @@ module.exports = eggspress('/query/app', {
|
||||
}, async (req, res, next) => {
|
||||
const results = [];
|
||||
|
||||
console.log('BODY?', req.body);
|
||||
|
||||
const db = req.services.get('database').get(DB_READ, 'apps');
|
||||
|
||||
const svc_appInformation = req.services.get('app-information');
|
||||
@ -56,10 +54,7 @@ module.exports = eggspress('/query/app', {
|
||||
if ( amount === undefined ) amount = 20;
|
||||
let uids = svc_appInformation.collections[col_name];
|
||||
uids = uids.slice(0, Math.min(uids.length, amount));
|
||||
console.log('GOT SOME UIDS', uids);
|
||||
app_list.splice(i, 1, ...uids);
|
||||
|
||||
console.log('NEW LIST', app_list);
|
||||
}
|
||||
}
|
||||
|
||||
@ -70,10 +65,7 @@ module.exports = eggspress('/query/app', {
|
||||
if ( amount === undefined ) amount = 20;
|
||||
let uids = svc_appInformation.tags[tag_name] ?? [];
|
||||
uids = uids.slice(0, Math.min(uids.length, amount));
|
||||
console.log('GOT SOME UIDS', uids);
|
||||
app_list.splice(i, 1, ...uids);
|
||||
|
||||
console.log('NEW LIST', app_list);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -247,8 +247,7 @@
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<script src="./js/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
|
||||
crossorigin="anonymous"></script>
|
||||
<script src="./js/jquery-3.6.0.min.js"></script>
|
||||
<script src="./js/jquery.dragster.js"></script>
|
||||
<script src="https://js.puter.com/v2"></script>
|
||||
<script src="./js/slugify.js"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user