Attempt 55 to fix bypass
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { google } from 'googleapis';
|
import { google } from 'googleapis';
|
||||||
import { getAuthenticatedClient } from '../auth/server.js';
|
import { getAuthenticatedClient } from '../auth/server.js';
|
||||||
import { GoogleSheet } from './types.ts';
|
import { GoogleSheet } from './types';
|
||||||
|
|
||||||
// Type for sheet data
|
// Type for sheet data
|
||||||
export interface SheetData {
|
export interface SheetData {
|
||||||
|
|||||||
5
src/routes/private/home/+layout.server.ts
Normal file
5
src/routes/private/home/+layout.server.ts
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
/**
|
||||||
|
* This file is necessary to ensure protection of all routes in the `private`
|
||||||
|
* directory. It makes the routes in this directory _dynamic_ routes, which
|
||||||
|
* send a server request, and thus trigger `hooks.server.ts`.
|
||||||
|
**/
|
||||||
Reference in New Issue
Block a user