fix path to static on root path

This commit is contained in:
Nick Pegg 2025-05-06 20:34:01 -07:00
parent 53a6c34785
commit a58878711b

View file

@ -4,7 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>My Photos</title> <title>My Photos</title>
<link rel="stylesheet" href="{{ root_path }}/static/index.css" type="text/css"> <link rel="stylesheet" href="{%if root_path %}{{ root_path }}/{%endif%}static/index.css" type="text/css">
</head> </head>
<body> <body>
<div id="header"> <div id="header">