- Strapi Version: 3.6.5
- Operating System: Linux Mint 20
- Database: MongoDB
- Node Version: 14.17.1
- NPM Version: 6.x
- Yarn Version: 1.22.5
I’m trying to host the admin panel on Cloudflare pages separately from the API server.
The build succeeds but I keep getting this error in the browser console:
Uncaught SyntaxError: Unexpected token '<
I get the same error locally after building and hosting it through
serve -s build.
strapi dev command works however.