metaserver to control maps nodes
Find a file
2022-09-11 10:00:26 +03:00
.github Enable formatting for the rest of repository 2022-09-11 10:00:26 +03:00
src Fix formatting 2022-09-11 09:27:19 +03:00
.eslintrc.yml Enable formatting for the rest of repository 2022-09-11 10:00:26 +03:00
.gitignore Initial commit 2021-06-18 22:38:16 +02:00
.nvmrc Initial commit 2021-06-18 22:38:16 +02:00
.prettierrc Initial commit 2021-06-18 22:38:16 +02:00
LICENSE Initial commit 2021-06-18 22:38:16 +02:00
metadata.json Initial commit 2021-06-18 22:38:16 +02:00
package-lock.json Enable formatting for the rest of repository 2022-09-11 10:00:26 +03:00
package.json Enable formatting for the rest of repository 2022-09-11 10:00:26 +03:00
README.md Initial commit 2021-06-18 22:38:16 +02:00
tsconfig.json Enable formatting for the rest of repository 2022-09-11 10:00:26 +03:00
wrangler.toml Enable formatting for the rest of repository 2022-09-11 10:00:26 +03:00

Metaserver to monitor map nodes and serve them to clients

Deploy master to Production

Requirements

Install CloudFlare's wrangler and other dev dependencies using npm:

npm i

Development

Use npx wrangler dev for localhost development.

Preview on workers.dev

Use npx wrangler preview to open and test deployed worker in browser.

Deployment

All pushes to master automatically deploy dev version to https://meta.omaps.workers.dev/

Deploy to prod manually using npx wrangler publish --env prod or this action.

Known issues

  • Cloudflare's free Flexible SSL certificates does not support 4-th level subdomains like a.b.example.com, so you can see strange SSL errors.
  • HTTPS fetch requests from Workers are converted to HTTP ones if the target host is in the same Cloudflare zone, see here for more details.