11// @ts -check
22import react from '@astrojs/react' ;
33import sitemap from '@astrojs/sitemap' ;
4- import vercel from '@astrojs/vercel' ;
54import tailwindcss from '@tailwindcss/vite' ;
65import { defineConfig } from 'astro/config' ;
76import favicons from 'astro-favicons' ;
@@ -10,9 +9,12 @@ import {
109 FIREFOX_EXTENSION_URL ,
1110} from './src/lib/constants' ;
1211
12+ import netlify from '@astrojs/netlify' ;
13+
1314// https://astro.build/config
1415export default defineConfig ( {
1516 site : 'https://www.lgamila.ma' ,
17+
1618 integrations : [
1719 react ( ) ,
1820 favicons ( ) ,
@@ -26,30 +28,33 @@ export default defineConfig({
2628 ] ,
2729 } ) ,
2830 ] ,
31+
2932 vite : {
3033 plugins : [ tailwindcss ( ) ] ,
3134 } ,
32- adapter : vercel ( ) ,
35+
3336 redirects : {
34- '/brave' : {
35- status : 308 ,
36- destination : CHROME_EXTENSION_URL ,
37- } ,
38- '/opera' : {
39- status : 308 ,
40- destination : CHROME_EXTENSION_URL ,
41- } ,
42- '/edge' : {
43- status : 308 ,
44- destination : CHROME_EXTENSION_URL ,
45- } ,
46- '/chrome' : {
47- status : 308 ,
48- destination : CHROME_EXTENSION_URL ,
49- } ,
50- '/firefox' : {
51- status : 308 ,
52- destination : FIREFOX_EXTENSION_URL ,
53- } ,
54- } ,
55- } ) ;
37+ '/brave' : {
38+ status : 308 ,
39+ destination : CHROME_EXTENSION_URL ,
40+ } ,
41+ '/opera' : {
42+ status : 308 ,
43+ destination : CHROME_EXTENSION_URL ,
44+ } ,
45+ '/edge' : {
46+ status : 308 ,
47+ destination : CHROME_EXTENSION_URL ,
48+ } ,
49+ '/chrome' : {
50+ status : 308 ,
51+ destination : CHROME_EXTENSION_URL ,
52+ } ,
53+ '/firefox' : {
54+ status : 308 ,
55+ destination : FIREFOX_EXTENSION_URL ,
56+ } ,
57+ } ,
58+
59+ adapter : netlify ( ) ,
60+ } ) ;
0 commit comments