fgeierst / typo3-vite-demo

GNU General Public License v2.0
20 stars 5 forks source link

Gitpod: Ports #8

Closed fgeierst closed 1 year ago

fgeierst commented 1 year ago

In Gitpod, ports are handled differently then in local DDEV: "Gitpod supports exposing HTTP ports via a custom domain that is associated with your workspace" https://www.gitpod.io/docs/configure/workspaces/ports#ports

Configure the Vite dev server so, that it uses the env variable GITPOD_WORKSPACE_URL.

See: https://mattjennings.io/blog/how-to-enable-hmr-for-sveltekit-on-gitpod