mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 19:28:39 +00:00
webpack server: add disableHostCheck option (#915)
Allow server to be accessed from anywhere, which is useful for testing. This potentially reveals the source code to the world, but this should not be a concern for testing open-source software.
This commit is contained in:
@@ -55,5 +55,9 @@ module.exports = {
|
||||
stats: {
|
||||
colors: true,
|
||||
},
|
||||
// Allow server to be accessed from anywhere, which is useful for
|
||||
// testing. This potentially reveals the source code to the world,
|
||||
// but this should not be a concern for testing open-source software.
|
||||
disableHostCheck: true,
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user