I've begun deployment of the Minimal Map Gallery application. I took a test map I was using that I had shared with NO ONE and added it to a TEST group I created for this Gallery specifically. I uploaded the code for the Gallery. I try to access it through the (extremely awkward and what were they thinking) URL requirement...
http://myserver/application-name/dist
But I get 404 errors... Nothing loads.
So I adjust the JSON...
"agolLinkLocation": "https://mygroup.maps.arcgis.com/home/group.html?=${GROUP_ID}",
...
"group": "my group id",
...
"portalUrl": "https://mygroup.maps.arcgis.com",
...
"proxyUrl": "http://our.url.to/proxy",
...
Still nothing... I am wondering if there is any special steps that maybe are missing from the Github page or whatever? But I've done everything I would normally do to prop up a web app from ESRI and nothing will display?
Another interesting note...
I have placed a PNG file in the DIST folder.
If I enter a direct URL to that server and that file then it loads.
But... if I enter a direct URL to that server and the application or boilerplate JSON files, I still get a 404.
Apparently the Internal Server did NOT have the MIME type JSON.
Now it does.
Problem solved.