56 lines
1.9 KiB
JavaScript
56 lines
1.9 KiB
JavaScript
|
|
import root from '../root.js';
|
|
import { set_building, set_prerendering } from '$app/env/internal';
|
|
import { set_assets } from '$app/paths/internal/server';
|
|
import { set_manifest, set_read_implementation } from '__sveltekit/server';
|
|
import { set_private_env, set_public_env } from '../../../node_modules/@sveltejs/kit/src/runtime/shared-server.js';
|
|
import error from '../shared/error-template.js';
|
|
|
|
export const options = {
|
|
app_template_contains_nonce: false,
|
|
async: false,
|
|
csp: {"mode":"auto","directives":{"upgrade-insecure-requests":false,"block-all-mixed-content":false},"reportOnly":{"upgrade-insecure-requests":false,"block-all-mixed-content":false}},
|
|
csrf_check_origin: true,
|
|
csrf_trusted_origins: [],
|
|
embedded: false,
|
|
env_public_prefix: 'PUBLIC_',
|
|
env_private_prefix: '',
|
|
hash_routing: false,
|
|
hooks: null, // added lazily, via `get_hooks`
|
|
preload_strategy: "modulepreload",
|
|
root,
|
|
service_worker: false,
|
|
service_worker_options: undefined,
|
|
server_error_boundaries: false,
|
|
templates: {
|
|
app: ({ head, body, assets, nonce, env }) => "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <link rel=\"icon\" href=\"" + assets + "/favicon.png\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <title>Tauri + SvelteKit + Typescript App</title>\n " + head + "\n </head>\n <body data-sveltekit-preload-data=\"hover\">\n <div style=\"display: contents\">" + body + "</div>\n </body>\n</html>\n",
|
|
error
|
|
},
|
|
version_hash: "1xk3rkg"
|
|
};
|
|
|
|
export async function get_hooks() {
|
|
let handle;
|
|
let handleFetch;
|
|
let handleError;
|
|
let handleValidationError;
|
|
let init;
|
|
|
|
|
|
let reroute;
|
|
let transport;
|
|
|
|
|
|
return {
|
|
handle,
|
|
handleFetch,
|
|
handleError,
|
|
handleValidationError,
|
|
init,
|
|
reroute,
|
|
transport
|
|
};
|
|
}
|
|
|
|
export { set_assets, set_building, set_manifest, set_prerendering, set_private_env, set_public_env, set_read_implementation };
|