AdalbertoHofmann
AdalbertoHofmann
FFilament
Created by AdalbertoHofmann on 11/15/2024 in #❓┊help
Filament Laravel with front React
I have the following setup: • Domain:
domain.com.br
domain.com.br
• My Filament admin is running at
domain.com.br/­­­_/
domain.com.br/­­­_/
• My Laravel API is located at
domain.com.br/_/api/v1
domain.com.br/_/api/v1
• My frontend is at
domain.com.br
domain.com.br
VPS directory structure (root): • backend (Laravel)
• public_html (contains index.html for React and a symbolic link, "underscore": pointing to backend/public)
The issue: When I submit the login form(filament login), the system returns an error related to the index.html file from public_html:
Uncaught (in promise) SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON
Uncaught (in promise) SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON
3 replies