Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: solve gitpod refreshing issue (#57)
Luke Zhouab60ce9d715c
diff --git a/frontend/vite.config.js b/frontend/vite.config.jsindex 3f7bd06c54..dd0d205506 100644--- a/frontend/vite.config.js+++ b/frontend/vite.config.js@@ -21,3 +21,10 @@ module.exports = {// },},};++// NOTE: the following lines is to solve https://github.com/gitpod-io/gitpod/issues/6719+// tl;dr : the HMR(hot module replacement) will behave differently when VPN is on, and by manually set its prot to 443 should prevent this issue.+const IS_RUNNING_GITPOD = process.env["GITPOD_WORKSPACE_ID"] !== null;+if (IS_RUNNING_GITPOD === true) {+ module.exports.server.hmr = { port: 443 };+}