Skip to content
Discussion options

You must be logged in to vote

As per Sean Cassiere #3080 (comment)

Once you've changed the apiBase to /path/api, you need to change and update your API route files to match the new pathing.

So, these files need to have their locations changed as well. So in app/routes,

Old Location New Location Alternate Location
api/users.ts path/api/users.ts path.api/users.ts
api/users.$id.ts path/api/users.$id.ts path.api/users.$id.ts

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@aarjithn
Comment options

@aarjithn
Comment options

Answer selected by aarjithn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant