dreamfactorysoftware / df-admin-interface

Apache License 2.0
2 stars 2 forks source link

Using the built project inside DF app causes the auth screen to persist after login #132

Closed ghost closed 1 year ago

ghost commented 1 year ago

I'm working on replacing the old UI with the new one.

Screenshot 2023-10-26 at 11 23 57

Steps I did:

0- Checkout dev branch 1- I build the project using npm run build 2- Copy the content of dist folder into DF public folder 3- Create an index.blade.php in the resources/views folder and copy the content of index.html into it 4- Update SplashController.php to return the view instead of redirecting to dreamfactory/index.html

Screenshot 2023-10-26 at 11 22 19

If I try to refresh the page then it will get stuck on loading and calling the endpoint again and again

Screenshot 2023-10-26 at 11 26 17
judgemavi commented 1 year ago

@anas-srikou a patch has been put in place, please test

ghost commented 1 year ago

I tested the fix and it is working 🙏