Skip to content

Commit

Permalink
fix: netlify config
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanyawat-Arsaga committed Apr 5, 2024
1 parent 6e1add7 commit 390f34c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
8 changes: 4 additions & 4 deletions apps/astro/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import react from '@astrojs/react';
import pandacss from '@pandacss/astro';
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';

import netlify from "@astrojs/netlify";
import netlify from '@astrojs/netlify';

// https://astro.build/config
export default defineConfig({
Expand All @@ -16,5 +16,5 @@ export default defineConfig({
},
integrations: [pandacss(), react()],
output: 'hybrid',
adapter: netlify()
});
adapter: netlify({})
});
3 changes: 3 additions & 0 deletions apps/astro/netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build]
command = "pnpm build"
publish = "dist"
9 changes: 0 additions & 9 deletions apps/astro/src/i18n/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,4 @@ export type Languages = keyof typeof languages;

export const defaultLang = 'en';

export const routes = {
en: {
services: 'leistungen'
},
ja: {
services: 'prestations-de-service'
}
};

export { ui };

0 comments on commit 390f34c

Please sign in to comment.