mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 17:38:10 +00:00
Ok need to check if tbe cdn works.
Made fix to index.tsx to use the new fetch proxy.
This commit is contained in:
1 parent
62127ab9d3
commit
8440ea9505
2 files changed
+15
-1
No files matched your search
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Get the directory of this script
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
# Go up to the root of the repository (assumes src/app/pages is always 3 levels deep)
|
||||
REPO_ROOT="$(cd "${SCRIPT_DIR}/../../.." && pwd)"
|
||||
|
||||
cd "${REPO_ROOT}"
|
||||
echo "${REPO_ROOT}"
|
||||
|
||||
|
||||
# Run the launch script
|
||||
./script/desktop/launch_desktop_2d.sh
|
||||
@@ -9,7 +9,7 @@ import { Toaster } from "~/components/ui/Toast";
|
||||
import { JobProvider } from "~/components/JobContext";
|
||||
import "./global.css";
|
||||
import { useRenderCounter } from "~/hooks/useRenderCounter";
|
||||
|
||||
import { FetchProxy as fetch } from "@storyteller/tauri-utils";
|
||||
function PostHogInit() {
|
||||
const apiKey = import.meta.env.VITE_POSTHOG_API_KEY;
|
||||
posthog.init(apiKey, {
|
||||
|
||||
Reference in new issue
Block a user