mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-05-05 02:17:50 +00:00
fix http -> https redirect and add integration tests for it
This commit is contained in:
parent
9a3d1c36dc
commit
e008cc446d
6 changed files with 49 additions and 8 deletions
integration
|
@ -40,6 +40,8 @@ func startServer(ctx context.Context) error {
|
|||
setEnvIfNotSet("PAGES_DOMAIN", "localhost.mock.directory")
|
||||
setEnvIfNotSet("RAW_DOMAIN", "raw.localhost.mock.directory")
|
||||
setEnvIfNotSet("PORT", "4430")
|
||||
setEnvIfNotSet("HTTP_PORT", "8880")
|
||||
setEnvIfNotSet("ENABLE_HTTP_SERVER", "true")
|
||||
setEnvIfNotSet("DB_TYPE", "sqlite3")
|
||||
|
||||
app := cli.NewApp()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue