mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Set response for public to static
This commit is contained in:
parent
6311b20168
commit
2eb246ed40
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ app.get('/manual', function(req, res) {
|
||||||
|
|
||||||
app.get('/public', function(req, res) {
|
app.get('/public', function(req, res) {
|
||||||
var response = '@' + utils.ReadFile(motdFile);
|
var response = '@' + utils.ReadFile(motdFile);
|
||||||
response += utils.ReadFile(publicFile);
|
response += utils.ReadFile(staticFile);
|
||||||
res.write(response);
|
res.write(response);
|
||||||
res.end();
|
res.end();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue