Roots sage css path is incorrect and 404'ing (FIXED)

I did a fresh install of Sage on my Windows 10 laptop, the compiling seems to be working and all the code is showing up in the /dist folder, but the full CSS path is incorrect.

Currently it is missing my project name, so it looks like this:

<link rel="stylesheet" href="/content/themes/our-theme/dist/styles/main.css">

when it should be this (my project name is called ‘nateandsig’):

<link rel="stylesheet" href="/nateandsig/content/themes/our-theme/dist/styles/main.css">

Any ideas?

I haven’t touched my .htaccess file and I’ve updated my devUrl to be ‘http://localhost/nateandsig’ (My localhost doesn’t use a port number).

Ah nvm, I fixed it!

Turns out I had to define my content url in my local-config.php like so:

define( 'WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/nateandsig/content' );