Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 page is not used when using Netlify #66

Closed
ItsJustPW opened this issue Jul 25, 2021 · 3 comments
Closed

404 page is not used when using Netlify #66

ItsJustPW opened this issue Jul 25, 2021 · 3 comments

Comments

@ItsJustPW
Copy link

Unless I've missed something (possible) the 404 page used when publishing to Netlify is the default Netlify version:

Screenshot 2021-07-25 at 09 59 40

@jasonvarga
Copy link
Member

Do you have an errors/404 view?

@ItsJustPW
Copy link
Author

2:13:39 PM: Gathering content to be generated... 2:13:39 PM: [✔] Gathered content to be generated 2:13:39 PM: Generating 2 content files... 2:13:39 PM: Generating /404 2:13:39 PM: Generating / 2:13:39 PM: [✔] Generated 2 content files 2:13:39 PM: [✘] /404 (The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.) 2:13:39 PM: [✔] /opt/build/repo/public/css copied to /opt/build/repo/storage/app/static/css 2:13:39 PM: [✔] /opt/build/repo/public/js copied to /opt/build/repo/storage/app/static/js 2:13:39 PM: [✔] /opt/build/repo/public/assets copied to /opt/build/repo/storage/app/static/assets 2:13:39 PM: [✔] /opt/build/repo/public/robots.txt copied to /opt/build/repo/storage/app/static/robots.txt 2:13:39 PM: [✔] /opt/build/repo/public/favicon.ico copied to /opt/build/repo/storage/app/static/favicon.ico 2:13:39 PM: [✔] /opt/build/repo/public/manifest.json copied to /opt/build/repo/storage/app/static/manifest.json 2:13:39 PM: [✔] /opt/build/repo/public/sw.js copied to /opt/build/repo/storage/app/static/sw.js 2:13:39 PM: Static site generated into /opt/build/repo/storage/app/static

@jasonvarga
Copy link
Member

Ah, make sure you have an APP_KEY set in your .env file.
Check the netlify instructions in the readme. https://github.com/statamic/ssg#deploy-to-netlify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants