From 7ec39cbccfdc12b50dca2d88fa76dd7554f85056 Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Sun, 29 Sep 2024 14:08:50 -0700 Subject: [PATCH 1/2] Update .env.demo and astro.config.mts files --- playgrounds/node/.env.demo | 4 ++++ playgrounds/node/astro.config.mts | 7 +++++++ playgrounds/node/package.json | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/playgrounds/node/.env.demo b/playgrounds/node/.env.demo index 966fb2f7c..aa3b67dcd 100644 --- a/playgrounds/node/.env.demo +++ b/playgrounds/node/.env.demo @@ -1,3 +1,7 @@ +# libSQL URL and Token for AstroDB +ASTRO_DB_REMOTE_URL=libsql://your-database.turso.io +ASTRO_DB_APP_TOKEN= + # credentials for GitHub OAuth CMS_GITHUB_CLIENT_ID= CMS_GITHUB_CLIENT_SECRET= diff --git a/playgrounds/node/astro.config.mts b/playgrounds/node/astro.config.mts index 758614699..ce9a362b3 100644 --- a/playgrounds/node/astro.config.mts +++ b/playgrounds/node/astro.config.mts @@ -22,4 +22,11 @@ export default defineConfig({ }, }), ], + image: { + remotePatterns: [ + { + protocol: 'https', + }, + ], + }, }); diff --git a/playgrounds/node/package.json b/playgrounds/node/package.json index 7d2fc5dd8..72175738a 100644 --- a/playgrounds/node/package.json +++ b/playgrounds/node/package.json @@ -6,7 +6,7 @@ "scripts": { "db:login": "astro db login", "db:link": "astro db link", - "db:push": "astro db push", + "db:push": "astro db push --remote", "dev": "astro dev --remote", "start": "astro dev --remote", "build": "astro build --remote", From 7425d6a38e2593a82d69c91965990f47554054b2 Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Sun, 29 Sep 2024 14:18:37 -0700 Subject: [PATCH 2/2] test --- playgrounds/node/studiocms.config.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playgrounds/node/studiocms.config.mjs b/playgrounds/node/studiocms.config.mjs index 100c897c0..08d7fbf88 100644 --- a/playgrounds/node/studiocms.config.mjs +++ b/playgrounds/node/studiocms.config.mjs @@ -29,7 +29,8 @@ export default defineStudioCMSConfig({ useInoxSitemap: true, }, imageService: { - useUnpic: true, + useUnpic: false, + astroImageServiceConfig: 'no-op', }, dashboardConfig: { AuthConfig: {