Skip to content

Commit

Permalink
Merge pull request #195 from jermspeaks/bug/netlify-functions-to-static
Browse files Browse the repository at this point in the history
Change netlify functions to static
  • Loading branch information
jermspeaks authored Oct 10, 2023
2 parents c40a2aa + 6d4ed54 commit 28cd0b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineConfig } from "astro/config";
import mdx from "@astrojs/mdx";
import netlify from "@astrojs/netlify/functions";
// import netlify from "@astrojs/netlify/static";
import rehypeAutolinkHeadings from "rehype-autolink-headings";
import rehypeExternalLinks from "rehype-external-links";
import rehypeSlug from "rehype-slug";
Expand Down Expand Up @@ -42,5 +42,6 @@ export default defineConfig({
applyBaseStyles: true,
}),
],
adapter: netlify(),
// NOTE: Once we need redirects, we can use the adaptor
// adapter: netlify(),
});

0 comments on commit 28cd0b7

Please sign in to comment.