Update README.md
This commit is contained in:
parent
5129c5238b
commit
dde09de26d
1 changed files with 15 additions and 0 deletions
15
README.md
15
README.md
|
|
@ -12,3 +12,18 @@ cd uv-app
|
|||
npm install
|
||||
npm start
|
||||
```
|
||||
|
||||
`uv.config.js`
|
||||
|
||||
```javascript
|
||||
self.__uv$config = {
|
||||
prefix: '/sw/', // Proxy url prefix
|
||||
bare: '/bare/', // Bare server location
|
||||
encodeUrl: Ultraviolet.codec.xor.encode, // URL Encoding function
|
||||
decodeUrl: Ultraviolet.codec.xor.decode, // Decode URL function
|
||||
handler: '/uv.handler.js', // Handler script
|
||||
bundle: '/uv.bundle.js', // Bundled script
|
||||
config: '/uv.config.js', // Configuration script
|
||||
sw: '/uv.sw.js', // Service Worker Script
|
||||
};
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue