Multi user front end

System Information
  • Strapi Version: 3.6.5
  • Operating System: Linux
  • Database: SQLite
  • Node Version: 14
  • NPM Version: 6.14.12
  • Yarn Version:

Hi Folks,

I’ve got this set up in which we have a strapi instance running for each customer. All instances are the same.
Now i was wondering, how hard can it be for only one static admin site to run and just modify somehow the backendURL variable? I am thinking that the right backedURL variable would be passed via a query string perhaps?

Anyone attepted something similar?

Thanks for any heads up.

regards,
Valerio

just for the records, extremely simple:

i substituted the default definition of backendURL in admin/index.js with:

backendURL: ‘https://’+window.location.hostname.replace(’-admin’,’’),