Search code examples
laravelwebgllaravel-valet

Laravel Valet does not serve WebGL build, error 404


My Laravel project has a WebGL build viewer/creator in the public/admin/creator and public/admin/viewer folders. On production and development servers this works fine. Locally running Laravel Valet I receive error 404 page not found.

WebGL folders have an index.html in their folders which should be served.

I think I may need an custom valet driver but don't know what this should contain and how to install.


Solution

  • Fixed this by adding /index.html to the webGL route in my browser.