Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

public\apps\fusio\index.htm Path Issue #544

Open
bangash-92 opened this issue Mar 6, 2024 · 1 comment
Open

public\apps\fusio\index.htm Path Issue #544

bangash-92 opened this issue Mar 6, 2024 · 1 comment
Labels

Comments

@bangash-92
Copy link

How to use different URLs for production and staging on index.html
I want to access the env "FUSIO_URL" directly instead of this hard code line, on index.html

<script> FUSIO_URL = 'http://api_fusio.test/index.php/'; </script>
@chriskapp
Copy link
Member

Hi @bangash-92, so I would recommend to create a dedicated index.html for production and staging, then you can adjust the url according to the environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants