summaryrefslogtreecommitdiffstats
path: root/server/api/ipxe.js
diff options
context:
space:
mode:
authorJannik Schönartz2019-03-07 20:20:25 +0100
committerJannik Schönartz2019-03-07 20:20:25 +0100
commit0999302d99156200ff174d5ec56d6831c8afd332 (patch)
tree56dfcf175c3d5b15dd44eb8d156e4448caaa5455 /server/api/ipxe.js
parent[server/ipranges] Forgot to commit the lib. ¯\_(ツ)_/¯ (diff)
downloadbas-0999302d99156200ff174d5ec56d6831c8afd332.tar.gz
bas-0999302d99156200ff174d5ec56d6831c8afd332.tar.xz
bas-0999302d99156200ff174d5ec56d6831c8afd332.zip
[server] New clients are automaticly added to the groups of the fitting subranges
Add conflict models Sequelize string operators depricated fix IPv4 is now saved as decimal in the database Add host to config instead of hardcoding Rename ip.js lib to iphelper.js
Diffstat (limited to 'server/api/ipxe.js')
-rw-r--r--server/api/ipxe.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/api/ipxe.js b/server/api/ipxe.js
index 3a6270f..6367246 100644
--- a/server/api/ipxe.js
+++ b/server/api/ipxe.js
@@ -31,7 +31,7 @@ router.get('/:version/log', async (req, res) => {
res.setHeader('content-type', 'text/plain')
const filepath = path.join(__appdir, 'ipxe', 'log_' + req.params.version + '.txt')
res.sendFile(filepath, err => {
- if (err) {
+ if (err) {
res.end()
}
})