diff --git a/bs/hooks-npm/postinstall b/bs/hooks-npm/postinstall deleted file mode 100755 index 2253154..0000000 --- a/bs/hooks-npm/postinstall +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/env bash -set -eo pipefail # this can be harmful, see https://www.youtube.com/watch?v=4Jo3Ml53kvc -. bs/.common || { - echo 'Please run this script from the project root directory' >&2; - exit 1; -} -declare -r tmp=/tmp/lit-router-extended -declare -r pkg=./node_modules/@lit-labs/router - -git clone git@github.com:klauss194/lit-router-extended.git --depth 1 "$tmp" -cp "$tmp"/* "$pkg" -rm -rf "$tmp" diff --git a/src/app-episodes/routes.ts b/src/app-episodes/routes.ts index dfd3367..a0cd12f 100644 --- a/src/app-episodes/routes.ts +++ b/src/app-episodes/routes.ts @@ -2,7 +2,7 @@ import type { RouteConfig } from "@lit-labs/router"; import { html } from "lit"; export const route = { - path: "/#/episodes", + path: "/episodes" as const, async enter() { await import("./index.js"); return true; diff --git a/src/index.ts b/src/index.ts index fe13061..a625ec3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -16,7 +16,7 @@ export class AppCfpodcasts extends LitElement {
${this._routes.outlet()}
`; }