Skip to content

Commit d7aaf9f

Browse files
committed
fix publish
1 parent d2c81ce commit d7aaf9f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/src/components/HistoryItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function HistoryItem({ item }: { item: HistoryItemType }) {
3636
switch (item.type) {
3737
case "url":
3838
type = "Shorten";
39-
title = shortUrl(item.id);
39+
title = shortUrl(item.url);
4040
description = null;
4141
break;
4242
case "paste":

wrangler.jsonc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@
4848
* https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
4949
*/
5050
"vars": {
51-
"VH7_ENV": "development",
52-
"VH7_ADMIN_TOKEN": "keyboardcat"
51+
"VH7_ENV": "development"
5352
},
5453
/**
5554
* Note: Use secrets to store sensitive data.
@@ -67,15 +66,16 @@
6766
// "services": [{ "binding": "MY_SERVICE", "service": "my-service" }]
6867
"env": {
6968
"production": {
69+
"route": "vh7.uk",
7070
"vars": {
7171
"VH7_ENV": "production",
7272
},
7373
"d1_databases": [
7474
{
7575
"binding": "DB",
7676
"database_name": "vh7",
77-
"database_id": "8248b645-7133-4795-a343-e9273706f77c",
78-
"migrations_dir": "migrations"
77+
"database_id": "7f59f381-935a-438d-9f83-509996e0c43f",
78+
"migrations_dir": "./worker/migrations"
7979
}
8080
],
8181
"r2_buckets": [

0 commit comments

Comments
 (0)