- TypeScript 94.5%
- HTML 5.5%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| .vscode | ||
| public | ||
| src | ||
| test | ||
| .editorconfig | ||
| .gitignore | ||
| .prettierrc | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vitest.config.mts | ||
| wrangler.jsonc | ||
CDNWorker
About
This is the source code of the Cloudflare worker that powers the PolyModLoader CDN
Platforms
Currently, 3 platforms are supported:
- Codeberg
- GitHub
- PolyModLoader
URL Structure
The URL structure for Codeberg and GitHub follows this pattern:
https://cdn.polymodloader.com/<gh|cb>/<user>/<repo>/<branch>/[path]
gh is for GitHub
cb is for Codeberg
user is the user/org the repository belongs to
repo is the name of the repository
branch is the branch of the repository
path is an optional field to point to a subfolder or file within the repo
The PolyModLoader platform
PolyModLoader is a special platform. It points to the polytrackmods org on our self-hosted Forgejo
instance (git.polymodloader.com)
The URL structure for pml is:
https://cdn.polymodloader.com/pml/<repo>/<branch>/[path]
repo is the name of the repository
branch is the branch of the repository
path is an optional field to point to a subfolder or file within the repo