Added start_url in manifest.json to fulfill requirements for installable app (#1955)

Co-authored-by: Vojislav Zelić <vodzo@Vojislavs-MacBook-Air.local>
This commit is contained in:
Vojislav 2023-09-09 20:25:29 +02:00 committed by GitHub
parent bce43c28d6
commit 0741ef0427
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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");