Running Twill CMS In Codespaces

61 views Asked by At

I try to get TwillCMS running on Codespaces, I followed these steps, and after installing Laravel (before installing Twill) I put APP_URL=https://xxx-xxx-xxx-8000.app.github.dev/ in my .env file, but the Twill login panel has

<form accept-charset="UTF-8" action="http://localhost:8000/admin/login" method="post">...</form>

in it's source, which of course won't work in Codespaces.

The corresponding file in /vendor/area17/twill/views/auth/layout.blade.php has

<form accept-charset="UTF-8" action="{{ $route }}" method="post">...</form>`

but I don't see where the $route variable is set.

Any idea how to set this $route to my Codespace URL instead of localhost?

0

There are 0 answers