Commit 6ce925b6 authored by Anthony Jacob's avatar Anthony Jacob
Browse files

remove access from root url /

parent 6e27521a
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
"use server";

import { redirect } from "next/navigation";

export default function Home() {
  return (
    <>
      <h1>Welcome to trading bot Dashboard</h1>
    </>
  );
export default async function Home() {
  redirect("/app");
}