Skip to content

Commit 8dec78b

Browse files
committed
fix: remove unnecessary integrity and crossorigin attributes in dev center when linking to jquery
1 parent c5cd8cc commit 8dec78b

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

src/backend/src/routers/query/app.js

-8
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ module.exports = eggspress('/query/app', {
3535
}, async (req, res, next) => {
3636
const results = [];
3737

38-
console.log('BODY?', req.body);
39-
4038
const db = req.services.get('database').get(DB_READ, 'apps');
4139

4240
const svc_appInformation = req.services.get('app-information');
@@ -56,10 +54,7 @@ module.exports = eggspress('/query/app', {
5654
if ( amount === undefined ) amount = 20;
5755
let uids = svc_appInformation.collections[col_name];
5856
uids = uids.slice(0, Math.min(uids.length, amount));
59-
console.log('GOT SOME UIDS', uids);
6057
app_list.splice(i, 1, ...uids);
61-
62-
console.log('NEW LIST', app_list);
6358
}
6459
}
6560

@@ -70,10 +65,7 @@ module.exports = eggspress('/query/app', {
7065
if ( amount === undefined ) amount = 20;
7166
let uids = svc_appInformation.tags[tag_name] ?? [];
7267
uids = uids.slice(0, Math.min(uids.length, amount));
73-
console.log('GOT SOME UIDS', uids);
7468
app_list.splice(i, 1, ...uids);
75-
76-
console.log('NEW LIST', app_list);
7769
}
7870
}
7971

src/dev-center/index.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,7 @@ <h1 class="my-apps-title">My Apps<span class="app-count"></span></h1>
247247
</section>
248248
</div>
249249

250-
<script src="./js/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
251-
crossorigin="anonymous"></script>
250+
<script src="./js/jquery-3.6.0.min.js"></script>
252251
<script src="./js/jquery.dragster.js"></script>
253252
<script src="https://js.puter.com/v2"></script>
254253
<script src="./js/slugify.js"></script>

0 commit comments

Comments
 (0)