Skip to content

Netlify Deployment 404 #1774

Jul 29, 2024 · 2 comments · 11 replies
Discussion options

You must be logged in to vote

I found the solution to my deployment issue!

If I use prerender: true in the vite config file like this, it wont process the destination API correctly while using auth

plugins: [
    vike({
      prerender: true,
    }),
    //mdx(),
    react()
  ],

It works fine if I set prerender to false.

Big thanks to @brillout for your help.

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
5 replies
@bitcoinvsalts
Comment options

@bitcoinvsalts
Comment options

@brillout
Comment options

@bitcoinvsalts
Comment options

@brillout
Comment options

Comment options

You must be logged in to vote
6 replies
@brillout
Comment options

@bitcoinvsalts
Comment options

@brillout
Comment options

@bitcoinvsalts
Comment options

Answer selected by bitcoinvsalts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1773 on July 29, 2024 15:26.