This use a single HTTP Agent to fetch API on build, preventing node from opening multiple connections, which is not supported by Django development server and cause build to crash.
Also remove use of path.join for building URL. path module sole purpose is to manipulate filesystem paths on both POSIX and Windows (which uses \ separators), but should not be used for URLs.
This use a single HTTP Agent to fetch API on build, preventing node from opening multiple connections, which is not supported by Django development server and cause build to crash.
Also remove use of
path.join
for building URL.path
module sole purpose is to manipulate filesystem paths on both POSIX and Windows (which uses\
separators), but should not be used for URLs.