File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff 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" :
Original file line number Diff line number Diff line change 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.
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" : [
You can’t perform that action at this time.
0 commit comments