server
server copied to clipboard
Uploaded file is linked to localhost
When uploading a file, the files href is linked to localhost:3003.
Should be the sites url + path to file
are you connected to localhost:3003? thats hosted on the same pc
are you connected to localhost:3003? thats hosted on the same pc
No, I was connected to the public IP of a Linux-server we own.
I also had this issue I hand to go to the src folder in bundle in the cdn routes attachment.js and change it to the name of my public domain and then it worked.... janky workaround to fix that issue.
the database as of when I last checked seems to have a cdn_public_address or something like that I don't remember the exact naming but when I changed it to the public domain masking my public IPv4 it just. corrupted the database even with the fosscord server in the off state. I don't recommend editing that cdn_public thing defaulted to null until its looked into farther people should log and debug the server for the fosscord developers to see before trying to manually set the cdn_public url setting in the database.db
well, dont edit your database in a text editor lol
Lamo
I also had this issue I hand to go to the src folder in bundle in the cdn routes attachment.js and change it to the name of my public domain and then it worked.... janky workaround to fix that issue.
this worked, thanks!
Database.db -> config -> cdn_public
On Tue, Jun 7, 2022, 13:47 Denisbg2011game @.***> wrote:
I also had this issue I hand to go to the src folder in bundle in the cdn routes attachment.js and change it to the name of my public domain and then it worked.... janky workaround to fix that issue.
this worked, thanks!
— Reply to this email directly, view it on GitHub https://github.com/fosscord/fosscord-server/issues/721#issuecomment-1148558817, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADHRDGWSNIVUCACIQA6YK6DVN4ZDVANCNFSM5TBI3VFQ . You are receiving this because you commented.Message ID: @.***>