Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
yan12125 committed Feb 8, 2025
1 parent 74d3184 commit 5faf637
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default [{
'assets/build/radar-rules.js',
'lib/routes-deprecated',
'lib/router.js',
// A copy of https://github.com/golang/go/blob/master/lib/wasm/wasm_exec.js
// Based on https://github.com/golang/go/blob/master/lib/wasm/wasm_exec.js
'lib/routes/bilibili/wasm-exec.js',
'**/babel.config.js',
'scripts/docker/minify-docker.js',
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/bilibili/manga-update.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Route } from '@/types';
import got from '@/utils/got';
import './wasm-exec.js';
import { Go } from './wasm-exec.js';

export const route: Route = {
path: '/manga/update/:comicid',
Expand Down
2 changes: 2 additions & 0 deletions lib/routes/bilibili/wasm-exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -640,3 +640,5 @@
}
};
})();

export const Go = globalThis.Go;

0 comments on commit 5faf637

Please sign in to comment.