Public
Like
1
location-feed-generator
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v271View latest version
To upload the new transparent anchor logo to your Val Town project:
- Go to https://www.val.town/settings/api
- Generate a new API token
- Copy the token
export VAL_TOWN_API_TOKEN="your_token_here"
deno run --allow-read --allow-net --allow-env scripts/upload-logo.ts
- Reads the transparent logo from
/Users/tijs/projects/Anchor/Assets/New/anchor-logo-transparent.png
- Uploads it to your Val Town project as
static/anchor-logo.png
- The website will then serve it at
/static/anchor-logo.png
- ✅ Logo HTML updated in header to use
/static/anchor-logo.png
- ✅ Static file handler added to serve the logo
- ⏳ Logo needs to be uploaded using the script above
Once uploaded, the new anchor logo will appear in the website header, replacing the emoji anchor.