You've already forked fm-dx-webserver
mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-02-26 22:13:53 +01:00
parsing parameters no longer required
This commit is contained in:
committed by
GitHub
parent
f5c806a75e
commit
1ee11490c0
@@ -334,12 +334,12 @@ class FallbackProviderWav extends AFallbackProvider {
|
||||
}
|
||||
}
|
||||
}
|
||||
/* Parsing parameters no longer required for Server variable but we'll keep the old code here as a reference
|
||||
const OptionParser = {
|
||||
"-port": function (txt) { return parseInt(txt, 10); },
|
||||
"-channels": function (txt) { return parseInt(txt, 10); },
|
||||
"-samplerate": function (txt) { return parseInt(txt, 10); }
|
||||
};
|
||||
/* Parsing parameters no longer required for Server variable but we'll keep the old code here as a reference
|
||||
const Options = {};
|
||||
// Parse parameters
|
||||
for (let i = 2; i < (process.argv.length - 1); i += 2) {
|
||||
|
||||
Reference in New Issue
Block a user