mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core&ui: add webauthn support (#484)
Co-authored-by: panda <panda_dtdyy@outlook.com> Co-authored-by: undefined <i@undefined.moe>
This commit is contained in:
1 parent
3d3a5480e3
commit
d069fe127b
29 files changed
+621
-195
No files matched your search
@@ -17,14 +17,16 @@ import root from './utils/root';
|
||||
const argv = cac().parse();
|
||||
|
||||
async function runWebpack({
|
||||
watch, production, measure, dev,
|
||||
watch, production, measure, dev, https,
|
||||
}) {
|
||||
const compiler = webpack(webpackConfig({ watch, production, measure }));
|
||||
if (dev) {
|
||||
const server = new WebpackDevServer({
|
||||
port: 8000,
|
||||
port: https ? 8001 : 8000,
|
||||
compress: true,
|
||||
hot: true,
|
||||
server: https ? 'https' : 'http',
|
||||
allowedHosts: 'all',
|
||||
proxy: {
|
||||
context: (p) => p !== '/ws',
|
||||
target: 'http://localhost:2333',
|
||||
|
||||
Reference in new issue
Block a user