Skip to content

Commit

Permalink
Revert "Change Astro example to use SSR"
Browse files Browse the repository at this point in the history
This reverts commit ee29340.
  • Loading branch information
tristanlee85 committed Feb 2, 2024
1 parent ee29340 commit 8462cf5
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 30 deletions.
9 changes: 1 addition & 8 deletions examples/v7-astro/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
import { defineConfig } from 'astro/config';

import node from "@astrojs/node";

// https://astro.build/config
export default defineConfig({
output: "server",
adapter: node({
mode: "standalone"
})
});
export default defineConfig({});
4 changes: 1 addition & 3 deletions examples/v7-astro/edgio.config.cjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// This file was automatically added by edgio init.
// You should commit this file to source control.
// Learn more about this file at https://docs.edg.io/guides/edgio_config
const { join } = require('path');

module.exports = {
connector: '@edgio/astro',

Expand All @@ -18,7 +16,7 @@ module.exports = {
astro: {
// The path of the standalone server that runs Astro SSR
// The dependencies for this file are automatically bundled
appPath: join('dist', 'server', 'entry.mjs'),
// appPath: join('dist', 'server', 'entry.mjs')
},

// When set to true or omitted entirely, Edgio includes the deployment number in the cache key,
Expand Down
41 changes: 23 additions & 18 deletions examples/v7-astro/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion examples/v7-astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"version": "0.0.1",
"dependencies": {
"@astrojs/check": "^0.4.1",
"@astrojs/node": "^8.2.0",
"astro": "^4.3.1",
"typescript": "^5.3.3"
},
Expand Down

0 comments on commit 8462cf5

Please sign in to comment.