Klaudiusz Dembler 440dc80dc4 update dependencies (#3522) | 1 سال پیش | |
---|---|---|
.. | ||
src | 2 سال پیش | |
.gitignore | 2 سال پیش | |
README.md | 2 سال پیش | |
package.json | 1 سال پیش | |
tsconfig.json | 2 سال پیش | |
webpack.config.js | 2 سال پیش | |
wrangler.toml | 2 سال پیش |
This repository contains code for deploying a Cloudflare Worker that can be used to get users' geographical coordinates, based on their IP address.
Deploying:
# install Wrangler (CF Workers CLI)
yarn global add @cloudflare/wrangler
# login via your Cloudflare account
wrangler login
# find out your account ID
wrangler whoami
# at this point you will need to update `account_id` entry in wrangler.toml
# deploy to production
wrangler publish --env production