first build
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
import { d as defineEventHandler, u as useRuntimeConfig } from '../nitro/nitro.mjs';
|
||||
import 'node:http';
|
||||
import 'node:https';
|
||||
import 'node:events';
|
||||
import 'node:buffer';
|
||||
import 'node:fs';
|
||||
import 'node:path';
|
||||
import 'node:crypto';
|
||||
import 'file:///mnt/new-volume-7/vue_projects/montify/montify/node_modules/vue/index.mjs';
|
||||
import 'node:url';
|
||||
import 'file:///mnt/new-volume-7/vue_projects/montify/montify/node_modules/consola/dist/index.mjs';
|
||||
import 'file:///mnt/new-volume-7/vue_projects/montify/montify/node_modules/ipx/dist/index.mjs';
|
||||
|
||||
const manifest_webmanifest_get = defineEventHandler((event) => {
|
||||
const cfg = useRuntimeConfig(event);
|
||||
const name = cfg.public.APP_NAME_EN || "App";
|
||||
return {
|
||||
name,
|
||||
short_name: name,
|
||||
id: "/",
|
||||
start_url: "/",
|
||||
display: "standalone",
|
||||
orientation: "portrait",
|
||||
scope: "/",
|
||||
background_color: "#ffffff",
|
||||
theme_color: "#ffffff",
|
||||
description: name,
|
||||
icons: [
|
||||
{ src: "/pwa-icon-192.png", sizes: "192x192", type: "image/png", purpose: "any maskable" },
|
||||
{ src: "/pwa-icon-512.png", sizes: "512x512", type: "image/png", purpose: "any maskable" }
|
||||
],
|
||||
categories: ["business", "shopping"]
|
||||
};
|
||||
});
|
||||
|
||||
export { manifest_webmanifest_get as default };
|
||||
Reference in New Issue
Block a user