refactor: move workflow to /workflow
This commit is contained in:
@@ -2,7 +2,7 @@ import { NextResponse, type NextRequest } from "next/server";
|
||||
|
||||
export async function GET(request: NextRequest) {
|
||||
const file = new URL(request.url).searchParams.get("file");
|
||||
console.log(file);
|
||||
console.log(`${process.env.SPACES_ENDPOINT}/comfyui-deploy/${file}`);
|
||||
return NextResponse.redirect(
|
||||
`${process.env.SPACES_ENDPOINT}/comfyui-deploy/${file}`
|
||||
);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { DeploymentsTable, RunsTable } from "../../components/RunsTable";
|
||||
import { findFirstTableWithVersion } from "../../server/findFirstTableWithVersion";
|
||||
import { DeploymentsTable, RunsTable } from "../../../components/RunsTable";
|
||||
import { findFirstTableWithVersion } from "../../../server/findFirstTableWithVersion";
|
||||
import { MachinesWSMain } from "@/components/MachinesWS";
|
||||
import {
|
||||
CreateDeploymentButton,
|
||||
@@ -49,7 +49,7 @@ export default async function Page({
|
||||
<MachinesWSMain machines={machines} />
|
||||
</CardContent>
|
||||
</Card>
|
||||
<Card className="w-full ">
|
||||
<Card className="w-full h-fit">
|
||||
<CardHeader>
|
||||
<CardTitle>Deployments</CardTitle>
|
||||
</CardHeader>
|
||||
@@ -60,7 +60,7 @@ export default async function Page({
|
||||
</Card>
|
||||
</div>
|
||||
|
||||
<Card className="w-full ">
|
||||
<Card className="w-full h-fit">
|
||||
<CardHeader>
|
||||
<CardTitle>Run</CardTitle>
|
||||
</CardHeader>
|
||||
Reference in New Issue
Block a user