diff --git a/app/github.com/[user]/[repo]/tree/[branch]/[...path]/loading.tsx b/app/github.com/[user]/[repo]/tree/[branch]/[...path]/loading.tsx
new file mode 100644
index 0000000..4e5312a
--- /dev/null
+++ b/app/github.com/[user]/[repo]/tree/[branch]/[...path]/loading.tsx
@@ -0,0 +1,16 @@
+import { Skeleton } from "@/components/ui/skeleton";
+
+export default function Loading() {
+ return (
+
+
Import GitHub repository
+
+
+
+
+
+
+
+
+ );
+}
diff --git a/app/https:/github.com/[user]/[repo]/tree/[branch]/[...path]/page.tsx b/app/github.com/[user]/[repo]/tree/[branch]/[...path]/page.tsx
similarity index 100%
rename from app/https:/github.com/[user]/[repo]/tree/[branch]/[...path]/page.tsx
rename to app/github.com/[user]/[repo]/tree/[branch]/[...path]/page.tsx
diff --git a/components/repo-url-form.tsx b/components/repo-url-form.tsx
index 636bfc6..745d90b 100644
--- a/components/repo-url-form.tsx
+++ b/components/repo-url-form.tsx
@@ -33,7 +33,7 @@ export function RepoUrlForm() {
async function onSubmit(data: z.infer) {
form.clearErrors();
try {
- await router.push(`/${data.url}`);
+ await router.push(`/${data.url.replace("https://", "")}`);
} catch (err) {
form.setError("url", { message: String(err) });
}