thedevs-network / kutt

Free Modern URL Shortener.

Home Page:https://kutt.it

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JS file URLs not working in Docker build

NerdifiedApe opened this issue · comments

I was able to get a few routes working to fix image rendering along with a firewall issue I was facing in the iptables caused by the janky setup I have with docker + CloudPanel + ufw issues.

But now I am a bit confused on how I am suppose to fix the URL paths for the frontend next.js scripts? Next.js packages weren't included in the build, so I added them via npm, but some of the script files seem to be seeded with unique URL paths and names that I don't fully understand.

Any ideas on how to salvage this without a complete reinstall? I've already sunk over 24 hours on this build to make it work thus far, hoping for the best.

All scripts are not routed properly
Screenshot 2023-04-09 060025

Example of full path #1
Screenshot 2023-04-09 060055

Example of full path #2
Screenshot 2023-04-09 060111

Current Nginx virtual host config
Screenshot 2023-04-09 061436

Home Directory files, the .next folder wasn't included
Screenshot 2023-04-09 061800