Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made the url work from any interface
Browse files Browse the repository at this point in the history
ThePinkUnicorn6 committed Dec 20, 2023
1 parent d94b17b commit 53b02bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ static void Main(string[] args)
log("DEBUG", "Using SQLite version: " + con.ServerVersion);
}
createDB(connectionString);
const string url = "http://localhost:8080/"; // Sets up http server
const string url = "http://+:8080/"; // Sets up http server
// TODO: log and give error if port is already in use.
HttpListener listener = new HttpListener();
listener.Prefixes.Add(url);

0 comments on commit 53b02bd

Please sign in to comment.