toshiakiasakura / hokumed_net

New version of hokui.net
1 stars 1 forks source link

How to change the devlopment mode and production environment. #28

Open toshiakiasakura opened 3 years ago

toshiakiasakura commented 3 years ago

As I edited clients services, I had to specify API_URL to access to backend. However, when I deploy this code set, I should rewrite these parts. Is there any way to change All the URL part? config setting or environmnet variables may be the solution.

toshiakiasakura commented 3 years ago

API_URL uses relative path now. However, I found it not work in the production environment. We should switch the environment.