diff --git a/.env b/.env index 6028f78b..07df11fe 100644 --- a/.env +++ b/.env @@ -22,8 +22,6 @@ VITE_DEFAULT_SEARCH_RELAYS=relay.ditto.pub,antiprimal.net,relay.vertexlab.io VITE_DEFAULT_MESSAGING_RELAYS=auth.nostr1.com,relay.keychat.io,relay.ditto.pub VITE_SIGNER_RELAYS=ephemeral.snowflare.cc,bucket.coracle.social VITE_THUMBNAIL_URL=https://vthumbs.coracle.social -VITE_CARTO_BASEMAP_KEY=cb1_42g1_1_7234813dd26909cd44b1dbe8 -VITE_CARTO_BASEMAP_KEY_LOCALHOST=cb1_42g1_3_bb09b0b53486b8f945a77a82 VITE_GLITCHTIP_API_KEY= GLITCHTIP_AUTH_TOKEN= VITE_HOSTING_BACKEND_URL=https://api.hosting.coracle.social diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 37d75d0a..38cbd499 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -56,7 +56,6 @@ jobs: VITE_PLATFORM_URL: https://pr-${{ github.event.number }}.preview.flowboat.lol VITE_PLATFORM_NAME: "Flotilla PR #${{ github.event.number }}" VITE_PLATFORM_DESCRIPTION: "Preview build of coracle/flotilla PR #${{ github.event.number }}. Not the real Flotilla." - VITE_CARTO_BASEMAP_KEY: cb1_42g1_2_bc3246a5d40392210ca7ab64 run: | export VITE_BUILD_HASH="${HEAD_SHA:0:8}" pnpm run build diff --git a/README.md b/README.md index 29dae05c..f10428ff 100644 --- a/README.md +++ b/README.md @@ -61,8 +61,6 @@ Create an `.env.local` file to override any of the values in `.env`: - `VITE_PUSH_BRIDGE` - WebSocket URL of the push notification relay bridge - `VITE_POMADE_SIGNERS` - A comma-separated list of Pomade signer server URLs (3+ required to enable email signup) - `VITE_THUMBNAIL_URL` - URL of the image thumbnail service -- `VITE_CARTO_BASEMAP_KEY` - A CARTO Basemaps key for the member map's tiles, free from https://carto.com/basemaps/apikey/. Without one the tiles carry an "API key required" watermark. -- `VITE_CARTO_BASEMAP_KEY_LOCALHOST` - The CARTO key for the native apps and the dev server, which both serve from `localhost`. CARTO authorizes a key against a list of domains and refuses `localhost` on one that also names a real domain, so this is a second key. These values **won't** be used for a built version. Instead, env variables should be provided to `scripts/build/app.sh` directly or to the built container. diff --git a/electron/main.ts b/electron/main.ts index 3f3a2f98..84fbedde 100644 --- a/electron/main.ts +++ b/electron/main.ts @@ -138,7 +138,7 @@ createCapacitorElectronApp({ "default-src 'self'", "script-src 'self' 'unsafe-inline' 'unsafe-eval' https://plausible.coracle.social", "style-src 'self' 'unsafe-inline'", - "img-src 'self' data: blob: https://basemaps.cartocdn.com", + "img-src 'self' data: blob: https://dufflepud.coracle.social", "font-src 'self' data:", "media-src 'self' blob:", "connect-src 'self' https: wss: ws: http:", diff --git a/src/app/components/SpaceMember.svelte b/src/app/components/SpaceMember.svelte index 42b717a1..67d33110 100644 --- a/src/app/components/SpaceMember.svelte +++ b/src/app/components/SpaceMember.svelte @@ -3,6 +3,7 @@ import MenuButton from "@lib/components/MenuButton.svelte" import Profile from "@app/components/Profile.svelte" import ProfileAbout from "@app/components/ProfileAbout.svelte" + import ProfileLocation from "@app/components/ProfileLocation.svelte" import ProfileDetail from "@app/components/ProfileDetail.svelte" import SpaceMemberMenu from "@app/components/SpaceMemberMenu.svelte" import RoleBadge from "@app/components/RoleBadge.svelte" @@ -44,6 +45,7 @@