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

a setup that works w/ netlify cms proxy #2

Closed
lastlink opened this issue Feb 23, 2021 · 5 comments
Closed

a setup that works w/ netlify cms proxy #2

lastlink opened this issue Feb 23, 2021 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@lastlink
Copy link

error

  • Failed to load entry: API_ERROR: Unknown action unpublishedEntry
@Knogobert
Copy link
Owner

Nice! I'll look into this as soon as version [email protected] is off the ground

@Knogobert Knogobert self-assigned this Feb 24, 2021
@Knogobert Knogobert added the enhancement New feature or request label Feb 24, 2021
@lastlink
Copy link
Author

the publsh mode needs to be disabled

# publish_mode: editorial_workflow
backend:
  name: proxy
  proxy_url: http://localhost:8081/api/v1
  branch: master

idk if the proxy needs to run at the root of the project or not, but disabling the publish mode made it work

@lastlink
Copy link
Author

lastlink commented Feb 24, 2021

got it working w/ github pages https://github.com/lastlink/netlify-cms-nuxt. gitlab pages has a redirect url bug w/ /blog becoming /blog/ b/c a blog folder exists.

@lastlink
Copy link
Author

now have an example w/ working tags, search, and 404

https://github.com/lastlink/demo-blog-nuxt-content

@Knogobert
Copy link
Owner

I think this was fixed by utilizing @nuxt/content package instead of a custom solution. No need for using npx netlify-cms-proxy-server for me, as http://localhost:3000/admin/ works as expected.

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

No branches or pull requests

2 participants