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:
pandaandundefined authored and GitHub committed 2023-01-23 17:49:40 +08:00
1 parent 3d3a5480e3
commit d069fe127b
29 files changed
+621 -195

No files matched your search

+4 -2
View File
@@ -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',