mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-01 13:09:31 +01:00
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:
parent
bce43c28d6
commit
0741ef0427
@ -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…
x
Reference in New Issue
Block a user