totaljs / openplatform

OpenPlatform v5 is a beautiful and simple portal for running, integrating and managing multiple 3rd party web applications.
https://www.totaljs.com/openplatform/
MIT License
95 stars 45 forks source link

Unable to hit api behind proxy #84

Closed kuproydev closed 2 months ago

kuproydev commented 2 months ago

Hi there, I'm new to total.js I just installed the app and it works fine, but after proxying, the app doesn't work as it should be. i'm proxy at domain.com/openplatform/ after the proxy app hit domain.com/api/login it should be domain.com/openplatform/api/login Is there a way to set the base url in the app?

Thank you!

petersirka commented 2 months ago

Hello, This is not possible yet. OpenPlatform must run as the root app of a domain. So, you can provide OpenPlatform like:

kuproydev commented 2 months ago

Hi, Thank you for fast response & your suggestion. Hopefully one day there will be this feature😁.