Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update demo #309

Merged
merged 2 commits into from
Sep 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions playgrounds/node/.env.demo
Original file line number Diff line number Diff line change
@@ -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=
Expand Down
7 changes: 7 additions & 0 deletions playgrounds/node/astro.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,11 @@ export default defineConfig({
},
}),
],
image: {
remotePatterns: [
{
protocol: 'https',
},
],
},
});
2 changes: 1 addition & 1 deletion playgrounds/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion playgrounds/node/studiocms.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export default defineStudioCMSConfig({
useInoxSitemap: true,
},
imageService: {
useUnpic: true,
useUnpic: false,
astroImageServiceConfig: 'no-op',
},
dashboardConfig: {
AuthConfig: {
Expand Down
Loading