test middleware

This commit is contained in:
Karol Wypchlo 2021-02-05 12:44:38 +01:00
parent 206b010787
commit 9fde9637b0
6 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
import Link from "next/link"; import Link from "next/link";
import { Configuration, PublicApi } from "@ory/kratos-client"; import { Configuration, PublicApi } from "@ory/kratos-client";
import config from "../../src/config"; import config from "../../config";
const kratos = new PublicApi(new Configuration({ basePath: config.kratos.public })); const kratos = new PublicApi(new Configuration({ basePath: config.kratos.public }));

View File

@ -1,6 +1,6 @@
import { useState } from "react"; import { useState } from "react";
import Layout from "../src/components/Layout"; import Layout from "../components/Layout";
import Table from "../src/components/Table"; import Table from "../components/Table";
const data = [ const data = [
{ skylink: "PAL0w4SdA5rFCDGEutgpeQ50Om-YkBabtXVOJAkmedslKw", size: "1 KB", date: "today" }, { skylink: "PAL0w4SdA5rFCDGEutgpeQ50Om-YkBabtXVOJAkmedslKw", size: "1 KB", date: "today" },

View File

@ -1,4 +1,4 @@
import Layout from "./components/Layout"; import Layout from "../components/Layout";
export default function Home() { export default function Home() {
return <Layout title="Dashboard"></Layout>; return <Layout title="Dashboard"></Layout>;

View File

@ -1,4 +1,4 @@
import Layout from "../src/components/Layout"; import Layout from "../components/Layout";
export default function Payments() { export default function Payments() {
return ( return (

View File

@ -1,6 +1,6 @@
import Link from "next/link"; import Link from "next/link";
import { Configuration, PublicApi } from "@ory/kratos-client"; import { Configuration, PublicApi } from "@ory/kratos-client";
import config from "../../src/config"; import config from "../config";
const kratos = new PublicApi(new Configuration({ basePath: config.kratos.public })); const kratos = new PublicApi(new Configuration({ basePath: config.kratos.public }));

View File

@ -1,6 +1,6 @@
import { useState } from "react"; import { useState } from "react";
import Layout from "../src/components/Layout"; import Layout from "../components/Layout";
import Table from "../src/components/Table"; import Table from "../components/Table";
const data = [ const data = [
{ skylink: "PAL0w4SdA5rFCDGEutgpeQ50Om-YkBabtXVOJAkmedslKw", size: "1 KB", date: "today" }, { skylink: "PAL0w4SdA5rFCDGEutgpeQ50Om-YkBabtXVOJAkmedslKw", size: "1 KB", date: "today" },