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", 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: {