Uploads location on dev instance?

I’m back to developing plugins after hiatus. I’ve followed the basic guide Install Discourse on Ubuntu or Debian for Development to install a dev instance.

Dev instance hostname is set correctly in /discourse/config/discourse.conf. Uploading works, but uploads are still targetting URL http://127.0.0.1:3000/... instead of http://hostname:4200/...

I haven’t found any other setting in /discourse/config/ or in admin panel… Where should I correct it?

2 Likes

There’s a force_hostname and port setting in config/site_settings.yml you can use

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.