mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 10:07:42 +00:00
Make package IPv6 ready
At the moment, the program does not recognise `::1` as a localhost address, this commit addresses this
This commit is contained in:
committed by
GitHub
parent
cfd7dcf2a9
commit
4ef66d8e1e
@@ -53,7 +53,7 @@ exports.handle = program => {
|
||||
|
||||
program.connectionLimit = 10;
|
||||
|
||||
if (program.host === 'localhost' || program.host === '127.0.0.1') {
|
||||
if (program.host === 'localhost' || program.host === '127.0.0.1' || program.host === '::1') {
|
||||
program.dynamic = 1
|
||||
}
|
||||
//console.log(program.rawArgs);
|
||||
|
||||
Reference in New Issue
Block a user