Provide environment information
"next": "^14.1.4",
"outstatic": "^1.4.4",
"react": "^18.2.0",
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
Is it possible to add support for the 'trailingSlash' option in nextjs config? I have an existing site that uses trailingSlash and would like to add Outstatic to it. When I tried, the outstatic add/edit pages don't populate content or save, and the edit pages redirect to add new.
Expected Behavior
The url becomes "outstatic/posts//posts/new" instead of "outstatic/posts/new/" or "outstatic/posts/[slug]/" (I really only need trailingSlash on the frontend, as long as it works to edit content in the outstatic dashboard)
Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster
--
To Reproduce
Same as example but with next.config.js
const nextConfig = {
trailingSlash: true,
};
Provide environment information
"next": "^14.1.4",
"outstatic": "^1.4.4",
"react": "^18.2.0",
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
Is it possible to add support for the 'trailingSlash' option in nextjs config? I have an existing site that uses trailingSlash and would like to add Outstatic to it. When I tried, the outstatic add/edit pages don't populate content or save, and the edit pages redirect to add new.
Expected Behavior
The url becomes "outstatic/posts//posts/new" instead of "outstatic/posts/new/" or "outstatic/posts/[slug]/" (I really only need trailingSlash on the frontend, as long as it works to edit content in the outstatic dashboard)
Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster
--
To Reproduce
Same as example but with next.config.js