Added start_url in manifest.json to fulfill requirements for installable app

This commit is contained in:
Vojislav Zelić 2023-09-09 19:21:56 +02:00
parent bce43c28d6
commit 6e99768e7b

View File

@ -26,6 +26,7 @@ export async function getServerSideProps({ res }) {
theme_color: themes[color][theme],
background_color: themes[color][theme],
display: "standalone",
start_url: settings.startUrl || "/",
};
res.setHeader("Content-Type", "application/manifest+json");