Toby Chui 136989f2ea Added plugin dir parameter
- Added plugin dir parameter
- Fixed critical architectural bug that effects plugin UI in production mode
- Updated implementation of embed FS routing
- Minor dark theme update
- Fixed ztnc UI bug for msgbox and confirm box
2025-03-28 21:24:18 +08:00
..
2025-03-28 21:24:18 +08:00
2024-05-01 20:39:26 +08:00
2024-06-18 16:37:58 +08:00

Example www Folder

This is an example www folder that contains two sub-folders.

  • html/
  • templates/

The html file contain static resources that will be served by Zoraxy build-in static web server. You can use it as a generic web server with a static site generator like Hugo or use it as a small CDN for serving your scripts / image that commonly use across many of your sites.

The templates folder contains the template for overriding the build in error or access denied pages. The following templates are supported

  • notfound.html (Default site Not-Found error page)
  • whitelist.html (Error page when client being blocked by whitelist rule)
  • blacklist.html (Error page when client being blocked by blacklist rule)

To use the template, copy and paste the wwww folder to the same directory as zoraxy executable (aka the src/ file if you go build with the current folder tree).

Other Templates

There are a few pre-built templates that works with Zoraxy where you can find in the other-templates folder. Copy the folder into www and rename the folder to templates to active them.

It is worth mentioning that the uwu icons for not-found and access-denied are created by @SAWARATSUKI