diff options
| author | Dhravya Shah <[email protected]> | 2024-08-06 10:55:07 -0700 |
|---|---|---|
| committer | Dhravya Shah <[email protected]> | 2024-08-06 10:55:07 -0700 |
| commit | 34451a7ad79d39da57dabfd36225f34200e41503 (patch) | |
| tree | f376428bae2d38aafe22aa36518f859e196f8cba /apps | |
| parent | Merge branch 'kush/be-queue' of https://github.com/Dhravya/supermemory into k... (diff) | |
| download | supermemory-34451a7ad79d39da57dabfd36225f34200e41503.tar.xz supermemory-34451a7ad79d39da57dabfd36225f34200e41503.zip | |
changes for prod
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/cf-ai-backend/wrangler.toml | 10 | ||||
| -rw-r--r-- | apps/extension/content/content.tsx | 11 | ||||
| -rw-r--r-- | apps/web/wrangler.toml | 11 |
3 files changed, 10 insertions, 22 deletions
diff --git a/apps/cf-ai-backend/wrangler.toml b/apps/cf-ai-backend/wrangler.toml index eda26d71..ca4a5d14 100644 --- a/apps/cf-ai-backend/wrangler.toml +++ b/apps/cf-ai-backend/wrangler.toml @@ -1,4 +1,4 @@ -name = "dev-cf-ai-backend" +name = "new-cf-ai-backend" main = "src/index.ts" compatibility_date = "2024-02-23" node_compat = true @@ -31,8 +31,8 @@ binding = "AI" [[kv_namespaces]] binding = "KV" -id = "a68a8182f08e46a1b5d11588fdda68dc" -preview_id = "a68a8182f08e46a1b5d11588fdda68dc" +id = "569c3f2a510943729019f5d1f798e7d9" +preview_id = "569c3f2a510943729019f5d1f798e7d9" [placement] mode = "smart" @@ -50,5 +50,5 @@ mode = "smart" [[d1_databases]] binding = "DATABASE" -database_name = "staging-d1-supermemory" -database_id = "40a3bb06-82bd-42f1-aef4-fde04f3635c5"
\ No newline at end of file +database_name = "prod-d1-supermemory" +database_id = "f527a727-c472-41d4-8eaf-3d7ba0f2f395"
\ No newline at end of file diff --git a/apps/extension/content/content.tsx b/apps/extension/content/content.tsx index e97c06e6..1a80774c 100644 --- a/apps/extension/content/content.tsx +++ b/apps/extension/content/content.tsx @@ -4,9 +4,6 @@ import("./base.css"); setTimeout(initial, 1000); -const TAILWIND_URL = - "https://cdn.jsdelivr.net/npm/tailwindcss@^2.0/dist/tailwind.min.css"; - const appendTailwindStyleData = (shadowRoot: ShadowRoot) => { const styleSheet = document.createElement("style"); @@ -20,14 +17,6 @@ const appendTailwindStyleData = (shadowRoot: ShadowRoot) => { }); }; -const appendTailwindStyleLink = (shadowRoot: ShadowRoot) => { - // Import Tailwind CSS and inject it into the shadow DOM - const styleSheet = document.createElement("link"); - styleSheet.rel = "stylesheet"; - styleSheet.href = TAILWIND_URL; - shadowRoot.appendChild(styleSheet); -}; - function initial() { // Create a new div element to host the shadow root. // Styles for this div is in `content/content.css` diff --git a/apps/web/wrangler.toml b/apps/web/wrangler.toml index 6abe527d..a6232450 100644 --- a/apps/web/wrangler.toml +++ b/apps/web/wrangler.toml @@ -1,4 +1,4 @@ -name = "dev-supermemory" +name = "supermemory" compatibility_date = "2024-03-29" compatibility_flags = [ "nodejs_compat" ] pages_build_output_dir = ".vercel/output/static" @@ -26,14 +26,13 @@ bucket_name = "dev-r2-anycontext" [[d1_databases]] binding = "DATABASE" -database_name = "supermemlocal" -database_id = "0f93c990-72fb-489c-8563-57a7bb18dc43" - +database_name = "dev-d1-anycontext" +database_id = "fc562605-157a-4f60-b439-2a24ffed5b4c" [[env.production.d1_databases]] binding = "DATABASE" -database_name = "staging-d1-supermemory" -database_id = "40a3bb06-82bd-42f1-aef4-fde04f3635c5" +database_name = "prod-d1-supermemory" +database_id = "f527a727-c472-41d4-8eaf-3d7ba0f2f395" [env.preview.ai] binding = "AI" |