change html a bit
This commit is contained in:
parent
4d050df9e0
commit
b5f6690819
2 changed files with 6 additions and 6 deletions
|
|
@ -132,14 +132,14 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h2>Shorten a URL ✨</h2>
|
<h2>Shorten a URL</h2>
|
||||||
|
|
||||||
<form id="myForm" onsubmit="submitForm(event)">
|
<form id="myForm" onsubmit="submitForm(event)">
|
||||||
<label for="value">URL to shorten:</label>
|
<label for="value">URL to shorten:</label>
|
||||||
<input autocomplete="one-time-code" id="value" name="value" placeholder="https://google.com/search?q=how+does+google" />
|
<input autocomplete="one-time-code" id="value" name="value" placeholder="https://google.com/search?q=what+are+cloudflare+workers" />
|
||||||
|
|
||||||
<label for="key">Unique key: (optional)</label>
|
<label for="key">Unique key: (optional)</label>
|
||||||
<input autocomplete="one-time-code" id="key" name="key" placeholder="metagoogle" />
|
<input autocomplete="one-time-code" id="key" name="key" placeholder="cloudflare" />
|
||||||
|
|
||||||
<label for="password">Authentication:</label>
|
<label for="password">Authentication:</label>
|
||||||
<input autocomplete="password" id="password" name="password" type="password" placeholder="mysecret" />
|
<input autocomplete="password" id="password" name="password" type="password" placeholder="mysecret" />
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ main = "src/index.ts"
|
||||||
kv_namespaces = [
|
kv_namespaces = [
|
||||||
|
|
||||||
# Replace below line with your namespace ID ('yarn createkv' output)
|
# Replace below line with your namespace ID ('yarn createkv' output)
|
||||||
{ binding = "KV", id = "1be44406edc142a084435e24dbf8ae1d", preview_id = "15cfb90ecd654b8f8a9ccd600832093f" }
|
{ binding = "KV", id = "7b821a1cd3254bd2a8c7c5429af81fae", preview_id = "7b821a1cd3254bd2a8c7c5429af81fae" }
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
@ -17,7 +17,7 @@ compatibility_date = "2023-11-08"
|
||||||
|
|
||||||
# Remove or comment out the route line if using workers_dev (and set below to true)
|
# Remove or comment out the route line if using workers_dev (and set below to true)
|
||||||
workers_dev = false
|
workers_dev = false
|
||||||
route = { pattern = "erisa.link/*", zone_name = "erisa.link" }
|
route = { pattern = "joshs.pro/*", zone_name = "joshs.pro" }
|
||||||
|
|
||||||
[vars]
|
[vars]
|
||||||
ENABLE_INDEX_FORM = false
|
ENABLE_INDEX_FORM = true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue