+13
src/pages/index.astro
+13
src/pages/index.astro
···
226
226
customElements.define("load-dong", LoadDong);
227
227
</script>
228
228
229
+
<h1>
230
+
Currently this does not work with chrome or other chromium based browsers
231
+
(see <a
232
+
href="https://developer.mozilla.org/en-US/docs/Web/API/Blob/bytes#browser_compatibility"
233
+
>here</a
234
+
> and <a
235
+
href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array/toBase6400"
236
+
>here</a
237
+
>.) Please use firefox, a gecko based browser, safari, or a webkit based
238
+
browser. (iOs has no issues with this site regardless of browser)<br>
239
+
Contact me if chrome starts working or you encounter any issues (up to u to figure out how)
240
+
</h1>
241
+
229
242
<create-dong></create-dong>
230
243
<load-dong></load-dong>
231
244
+86
wrangler.toml
+86
wrangler.toml
···
1
+
#:schema node_modules/wrangler/config-schema.json
2
+
name = "dong"
3
+
compatibility_date = "2025-01-09"
4
+
compatibility_flags = ["nodejs_compat"]
5
+
pages_build_output_dir = "./dist"
6
+
7
+
# Automatically place your workloads in an optimal location to minimize latency.
8
+
# If you are running back-end logic in a Pages Function, running it closer to your back-end infrastructure
9
+
# rather than the end user may result in better performance.
10
+
# Docs: https://developers.cloudflare.com/pages/functions/smart-placement/#smart-placement
11
+
# [placement]
12
+
# mode = "smart"
13
+
14
+
# Variable bindings. These are arbitrary, plaintext strings (similar to environment variables)
15
+
# Docs:
16
+
# - https://developers.cloudflare.com/pages/functions/bindings/#environment-variables
17
+
# Note: Use secrets to store sensitive data.
18
+
# - https://developers.cloudflare.com/pages/functions/bindings/#secrets
19
+
# [vars]
20
+
# MY_VARIABLE = "production_value"
21
+
22
+
# Bind the Workers AI model catalog. Run machine learning models, powered by serverless GPUs, on Cloudflare’s global network
23
+
# Docs: https://developers.cloudflare.com/pages/functions/bindings/#workers-ai
24
+
# [ai]
25
+
# binding = "AI"
26
+
27
+
# Bind a D1 database. D1 is Cloudflare’s native serverless SQL database.
28
+
# Docs: https://developers.cloudflare.com/pages/functions/bindings/#d1-databases
29
+
# [[d1_databases]]
30
+
# binding = "MY_DB"
31
+
# database_name = "my-database"
32
+
# database_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
33
+
34
+
# Bind a Durable Object. Durable objects are a scale-to-zero compute primitive based on the actor model.
35
+
# Durable Objects can live for as long as needed. Use these when you need a long-running "server", such as in realtime apps.
36
+
# Docs: https://developers.cloudflare.com/workers/runtime-apis/durable-objects
37
+
# [[durable_objects.bindings]]
38
+
# name = "MY_DURABLE_OBJECT"
39
+
# class_name = "MyDurableObject"
40
+
# script_name = 'my-durable-object'
41
+
42
+
# Bind a KV Namespace. Use KV as persistent storage for small key-value pairs.
43
+
# Docs: https://developers.cloudflare.com/pages/functions/bindings/#kv-namespaces
44
+
# [[kv_namespaces]]
45
+
# binding = "MY_KV_NAMESPACE"
46
+
# id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
47
+
48
+
# Bind a Queue producer. Use this binding to schedule an arbitrary task that may be processed later by a Queue consumer.
49
+
# Docs: https://developers.cloudflare.com/pages/functions/bindings/#queue-producers
50
+
# [[queues.producers]]
51
+
# binding = "MY_QUEUE"
52
+
# queue = "my-queue"
53
+
54
+
# Bind an R2 Bucket. Use R2 to store arbitrarily large blobs of data, such as files.
55
+
# Docs: https://developers.cloudflare.com/pages/functions/bindings/#r2-buckets
56
+
# [[r2_buckets]]
57
+
# binding = "MY_BUCKET"
58
+
# bucket_name = "my-bucket"
59
+
60
+
# Bind another Worker service. Use this binding to call another Worker without network overhead.
61
+
# Docs: https://developers.cloudflare.com/pages/functions/bindings/#service-bindings
62
+
# [[services]]
63
+
# binding = "MY_SERVICE"
64
+
# service = "my-service"
65
+
66
+
# To use different bindings for preview and production environments, follow the examples below.
67
+
# When using environment-specific overrides for bindings, ALL bindings must be specified on a per-environment basis.
68
+
# Docs: https://developers.cloudflare.com/pages/functions/wrangler-configuration#environment-specific-overrides
69
+
70
+
######## PREVIEW environment config ########
71
+
72
+
# [env.preview.vars]
73
+
# API_KEY = "xyz789"
74
+
75
+
# [[env.preview.kv_namespaces]]
76
+
# binding = "MY_KV_NAMESPACE"
77
+
# id = "<PREVIEW_NAMESPACE_ID>"
78
+
79
+
######## PRODUCTION environment config ########
80
+
81
+
# [env.production.vars]
82
+
# API_KEY = "abc123"
83
+
84
+
# [[env.production.kv_namespaces]]
85
+
# binding = "MY_KV_NAMESPACE"
86
+
# id = "<PRODUCTION_NAMESPACE_ID>"