diff --git a/.env.dist b/.env.dist
index e6dd9fe..4a6eaed 100644
--- a/.env.dist
+++ b/.env.dist
@@ -7,3 +7,5 @@ JWT_SECRET=
JWT_REFRESH_SECRET=
CORS=false
PORT=8081
+HOST=
+SECURE_COOKIES=
diff --git a/resources/application.yaml b/resources/application.yaml
index 9b5e034..e88bd76 100644
--- a/resources/application.yaml
+++ b/resources/application.yaml
@@ -19,3 +19,6 @@ jwt:
secret: ${JWT_REFRESH_SECRET=-wWchkx44YGig4Q5Z7b7+E/3ymGEGd6PS7UGedMul3bg=} # Can be generated with `openssl rand -base64 32`
validity: 15
unit: DAYS
+
+cookies:
+ secure: ${SECURE_COOKIES:-false}
diff --git a/resources/templates/new.twig b/resources/templates/new.twig
index 88faab9..5aea2b8 100644
--- a/resources/templates/new.twig
+++ b/resources/templates/new.twig
@@ -1,4 +1,6 @@
-{% set title = "Notes" %} {% extends "__base__.html" %} {% block content %}
+{% set title = "Notes" %}
+{% extends "__base__.html" %}
+{% block content %}
{{ method }}
@@ -24,8 +26,7 @@
title: ''
---
-{% endif -%}
+{% endif -%}