Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Commit 625bf2a

Browse files
Change a few prefixes
1 parent 7f4be85 commit 625bf2a

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@titaniumnetwork-dev/ultraviolet",
2+
"name": "@weeb-network/ultraviolet",
33
"version": "1.0.2",
44
"description": "Proxy",
55
"main": "lib/index.cjs",

src/rewrite/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ class Ultraviolet {
3131
this.meta = options.meta || {};
3232
this.meta.base ||= undefined;
3333
this.meta.origin ||= '';
34-
this.bundleScript = options.bundleScript || '/uv.bundle.js';
35-
this.handlerScript = options.handlerScript || '/uv.handler.js';
36-
this.configScript = options.handlerScript || '/uv.config.js';
34+
this.bundleScript = options.bundleScript || '/uv/uv.bundle.js';
35+
this.handlerScript = options.handlerScript || '/uv/uv.handler.js';
36+
this.configScript = options.handlerScript || '/uv/uv.config.js';
3737
this.meta.url ||= this.meta.base || '';
3838
this.codec = Ultraviolet.codec;
3939
this.html = new HTML(this);

src/uv.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
self.__uv$config = {
22
prefix: '/service/',
3-
bare: 'https://incog.dev/bare/',
3+
bare: '/bare/',
44
encodeUrl: Ultraviolet.codec.xor.encode,
55
decodeUrl: Ultraviolet.codec.xor.decode,
6-
handler: '/uv.handler.js',
7-
bundle: '/uv.bundle.js',
8-
config: '/uv.config.js',
9-
sw: '/uv.sw.js',
6+
handler: '/uv/uv.handler.js',
7+
bundle: '/uv/uv.bundle.js',
8+
config: '/uv/uv.config.js',
9+
sw: '/uv/uv.sw.js',
1010
};

0 commit comments

Comments
 (0)