Gateway for static assets from Toonix World (mostly known as Mundo Toonix).
-
Node.js - Version 20.x
-
PNPM - Version 8.x
-
Environment variables
Variable Type Description Default Required Example CDN_PATHString Path to the CDN None Yes https://cdn.toonix.comHTTP_SERVER_ADDRESSString Address to HTTP server None Yes https://toonix.comHTTPS_CA_FILEPATHString Path to the SSL CA file None Yes, when the environment variable SHOULD_USE_HTTPSis set totrue<Path to SSL CA>HTTPS_CERT_FILEPATHString Path to the SSL certificate file None Yes, when the environment variable SHOULD_USE_HTTPSis set totrue<Path to SSL certificate>HTTPS_KEY_FILEPATHString Path to the SSL key file None Yes, when the environment variable SHOULD_USE_HTTPSis set totrue<Path to SSL key>PORTNumber Port to run the server 80 No 3000SHOULD_USE_HTTPSBoolean Use HTTPS protocol None No true
For running the application with Node.js, you will need to either clone the repository or download the zip file from the releases page.
- Clone the repository.
- Install the dependencies with
pnpm install. - Run the application with
pnpm run dev.
- Download the zip file from the releases page.
- Extract the zip file.
- Install the dependencies with
pnpm install --prod. - Run the application with
pnpm start.