diff --git a/Makefile b/Makefile index f7e9108..a3bc3fb 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,6 @@ start: pnpm dlx serve src + +# Require a password. Not versioned. +deploy: + lftp -e "mirror -R ./ ftp://dhufpvp@ftp.cluster029.hosting.ovh.net/www" -u dhufpvp \ No newline at end of file diff --git a/src/.htaccess b/src/.htaccess new file mode 100644 index 0000000..5913d92 --- /dev/null +++ b/src/.htaccess @@ -0,0 +1,6 @@ +RewriteEngine On + +ErrorDocument 404 /404.html + +RewriteCond %{HTTPS} off +RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]