remove need for export function self
This commit is contained in:
@@ -10,7 +10,3 @@ export default function Home(props: PageProps) {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export function self() {
|
||||
return import.meta.url;
|
||||
}
|
||||
|
||||
@@ -3,7 +3,3 @@ import { h } from "../deps.ts";
|
||||
export default function Home(props: {}) {
|
||||
return <div>Hello World!</div>;
|
||||
}
|
||||
|
||||
export function self() {
|
||||
return import.meta.url;
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,4 +3,4 @@ import { setup } from "../server.ts";
|
||||
import * as $0 from "./pages/[name].tsx";
|
||||
import * as $1 from "./pages/index.tsx";
|
||||
|
||||
setup([$0, $1], import.meta.url);
|
||||
setup([[$0, "./pages/[name].tsx"], [$1, "./pages/index.tsx"]], import.meta.url);
|
||||
|
||||
Reference in New Issue
Block a user