Application of Revela which can be deployed in production.
| bare@2afcb743a1 | ||
| ssl | ||
| static@1df0884585 | ||
| .gitignore | ||
| .gitmodules | ||
| .replit | ||
| app.json | ||
| index.js | ||
| index.mjs | ||
| package-lock.json | ||
| package.json | ||
| Procfile | ||
| README.md | ||
Ultraviolet
Ultraviolet application
Steps
Installing on machine
git clone https://github.com/titaniumnetwork-dev/ultraviolet-web-app/
cd ultraviolet-web-app
git submodule update --init
npm install
npm start
On Repl, make sure to run the git submodule update --init command in shell.
http://localhost:8080/
Change server address properties when desired.
Updating Bare
git submodule update --remote
However, this may override files in static/ so be careful.
Ultraviolet Config
uv.config.js
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
};