Commit 7c3f8479 authored by Lucas Brown's avatar Lucas Brown

updated readme documentation

parent 2cd374a1
This diff is collapsed.
......@@ -61,7 +61,7 @@ one `docker-compose.yaml` file that is shared between all services.
4. Open the Swagger UI.
Navigate your browser to [http://localhost:3001/swagger](http://localhost:3001/docs).
Navigate your browser to [http://localhost:3001/docs](http://localhost:3001/docs).
5. Signup a new account.
......
......@@ -348,6 +348,8 @@ func main() {
// Init redirect middleware to ensure all requests go to the primary domain contained in the base URL.
if primaryServiceHost != "127.0.0.1" && primaryServiceHost != "localhost" {
panic(primaryServiceHost)
redirect := mid.DomainNameRedirect(mid.DomainNameRedirectConfig{
RedirectConfig: mid.RedirectConfig{
Code: http.StatusMovedPermanently,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment