Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Beocreate2/beo-system/beo-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,10 @@ expressServer.get("/:extension/download/:urlPath", function (req, res) {
}
});


// For captive portal wifi setup, redirect all other requests to the hardcoded local wlan0 IP.
expressServer.get("*", function(req,res){
res.redirect("http://10.0.0.1/");
});

function addDownloadRoute(extension, urlPath, filePath, permanent = false) {
if (extension && urlPath && filePath) {
Expand Down