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

Co-authored-by: Vojislav Zelić <vodzo@Vojislavs-MacBook-Air.local>
pull/1970/head
Vojislav 8 months ago committed by GitHub
parent bce43c28d6
commit 0741ef0427
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save