fix(build) use http for GitHub codespaces

This commit is contained in:
Saúl Ibarra Corretgé 2022-12-02 15:15:56 +00:00 committed by Saúl Ibarra Corretgé
parent 56114fe863
commit be982ae996
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ function getDevServerConfig() {
}
}
},
server: 'https',
server: process.env.CODESPACES ? 'http' : 'https',
static: {
directory: process.cwd()
}