test middleware
This commit is contained in:
parent
206b010787
commit
9fde9637b0
|
@ -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 }));
|
||||||
|
|
||||||
|
|
|
@ -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" },
|
||||||
|
|
|
@ -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>;
|
||||||
|
|
|
@ -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 (
|
||||||
|
|
|
@ -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 }));
|
||||||
|
|
||||||
|
|
|
@ -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" },
|
||||||
|
|
Reference in New Issue