Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

改了config依然报错 #8

Closed
niwiu opened this issue Dec 31, 2022 · 1 comment
Closed

改了config依然报错 #8

niwiu opened this issue Dec 31, 2022 · 1 comment

Comments

@niwiu
Copy link

niwiu commented Dec 31, 2022

config配置:
self.__uv$config = { prefix: /server/, bare: /cf.niwiu.app//, encodeUrl: Ultraviolet.codec.xor.encode, decodeUrl: Ultraviolet.codec.xor.decode, handler: '/server/server.handler.js', client: '/server/server.client.js', bundle: '/server/server.bundle.js', config: '/server/server.config.js', sw: '/server/server.sw.js', };

点击搜索后报错
SyntaxError: Unexpected token 'c', "class KVAd"... is not valid JSON

@allmors
Copy link
Contributor

allmors commented Dec 31, 2022

config配置: self.__uv$config = { prefix: /server/, bare: /cf.niwiu.app//, encodeUrl: Ultraviolet.codec.xor.encode, decodeUrl: Ultraviolet.codec.xor.decode, handler: '/server/server.handler.js', client: '/server/server.client.js', bundle: '/server/server.bundle.js', config: '/server/server.config.js', sw: '/server/server.sw.js', };

点击搜索后报错 SyntaxError: Unexpected token 'c', "class KVAd"... is not valid JSON

bare: /cf.niwiu.app//错误,正确应该为bare: https://cf.niwiu.app/

@allmors allmors closed this as completed Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants