mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
update wasm binary loading
This commit is contained in:
2
build.rs
2
build.rs
@@ -48,7 +48,7 @@ fn cache_bust() {
|
|||||||
// mime::TEXT_CSS,
|
// mime::TEXT_CSS,
|
||||||
// ];
|
// ];
|
||||||
|
|
||||||
let no_hash = vec!["bundle/6b88f6ccf97567b46745.module.wasm"];
|
let no_hash = vec!["bundle/f3c927fe82899094538e.module.wasm"];
|
||||||
|
|
||||||
let config = BusterBuilder::default()
|
let config = BusterBuilder::default()
|
||||||
.source("./static/cache")
|
.source("./static/cache")
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
* MIT or <http://www.apache.org/licenses/LICENSE-2.0> for Apache.
|
* MIT or <http://www.apache.org/licenses/LICENSE-2.0> for Apache.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import {gen_pow} from '../../../browser/pkg/index';
|
import {gen_pow} from '../../../browser/pkg/mcaptcha_browser';
|
||||||
import {PoWConfig} from './fetchPoWConfig';
|
import {PoWConfig} from './fetchPoWConfig';
|
||||||
import * as CONST from './const';
|
import * as CONST from './const';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user