This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { NextResponse, type NextRequest } from 'next/server'; | |
export function middleware(req: NextRequest) { | |
const { pathname } = req.nextUrl; | |
if (pathname == '/') { | |
return NextResponse.next(); | |
} | |
return NextResponse.redirect(new URL('/', req.url)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"description": "Escape Key", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "escape", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package resolvers | |
import ( | |
schema "github.com/tailor-inc/platform-core-services/cmd/tailorctl/schema/v1:pipeline" | |
"{{ .Values.cue.package }}/{{ .Values.cue.dist }}/directory:directories" | |
"{{ .Values.cue.package }}/{{ .Values.cue.dist }}/pipeline:settings" | |
) | |
// input moveToDeletedWorkrecordInput | |
// id: ID! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Environment variables declared in this file are automatically made available to Prisma. | |
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema | |
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB. | |
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings | |
DATABASE_URL="postgresql://morag_admin:J3tisnsd9@localhost:5432/morag?schema=public" | |
API_BASE_URL="http://localhost:3000" | |
NEXT_PUBLIC_API_URL="http://localhost:3000" |
OlderNewer