mirror of
https://github.com/CorentinTh/it-tools.git
synced 2026-11-20 07:11:21 +00:00
Replace toolbox.destan.dev with toolbox.destan.workers.dev (#10)
### Description Replace every reference to `toolbox.destan.dev` with `toolbox.destan.workers.dev`. - `index.html`: the canonical link, `og:url`, `og:image`, and `twitter:image`. The canonical link gains a trailing slash to match `og:url`. - `README.md`: the "Try it!" link. - `.github/ISSUE_TEMPLATE/bug-report.yml`: the "Public app" option. - `src/tools/qr-code-generator/qr-code-generator.vue`: the default QR code text. - `src/tools/url-parser/url-parser.vue`: the sample URL uses `example.com`, so it does not depend on the site domain. ### Additional context - `git grep destan.dev` returns no matches after this change. - The live site returns `200 image/png` for `/banner.png?v=2` on the new domain. - Neither changed tool has tests, and no test references the old values. Lint and build were not run, since every change edits a string literal. --- ### What is the purpose of this pull request? - [ ] Bug fix - [ ] New Feature - [ ] Documentation update - [x] Other ### Before submitting the PR, please make sure you do the following - [ ] Submit the PR against the `dev` branch. (The repository has no `dev` branch, so this PR targets `main`.) - [x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate. - [x] Provide a description in this PR that addresses **what** the PR is solving, or reference the issue that it solves (e.g. `fixes #123`). - [ ] Ideally, include relevant tests that fail without this PR but pass with it. --- _Generated by [Claude Code](https://claude.ai/code/session_01PEUYi2oMSEz9uSiT8DXC1a)_ Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
41b706570f
commit
ee2e5ba810
5 changed files with 8 additions and 8 deletions
2
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
2
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
|
|
@ -41,7 +41,7 @@ body:
|
|||
attributes:
|
||||
label: Where did you encounter the bug?
|
||||
options:
|
||||
- Public app (toolbox.destan.dev)
|
||||
- Public app (toolbox.destan.workers.dev)
|
||||
- A self hosted
|
||||
- Other (installations, docker, etc.)
|
||||
validations:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Toolbox
|
||||
|
||||
Useful tools for developers and people working in IT. [Try it!](https://toolbox.destan.dev)
|
||||
Useful tools for developers and people working in IT. [Try it!](https://toolbox.destan.workers.dev)
|
||||
|
||||
Toolbox is a fork of [IT-Tools](https://github.com/CorentinTh/it-tools) by [Corentin Thomasset](https://corentin.tech).
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
content="Collection of handy online tools for developers, with great UX. Toolbox is a free and open-source collection of handy online tools for developers & people working in IT."
|
||||
/>
|
||||
<link rel="author" href="humans.txt" />
|
||||
<link rel="canonical" href="https://toolbox.destan.dev" />
|
||||
<link rel="canonical" href="https://toolbox.destan.workers.dev/" />
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png" />
|
||||
|
|
@ -24,14 +24,14 @@
|
|||
<meta name="msapplication-TileColor" content="#da532c" />
|
||||
<meta name="theme-color" content="#ffffff" />
|
||||
|
||||
<meta property="og:url" content="https://toolbox.destan.dev/" />
|
||||
<meta property="og:url" content="https://toolbox.destan.workers.dev/" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content="Toolbox - Handy online tools for developers" />
|
||||
<meta
|
||||
property="og:description"
|
||||
content="Collection of handy online tools for developers, with great UX. Toolbox is a free and open-source collection of handy online tools for developers & people working in IT."
|
||||
/>
|
||||
<meta property="og:image" content="https://toolbox.destan.dev/banner.png?v=2" />
|
||||
<meta property="og:image" content="https://toolbox.destan.workers.dev/banner.png?v=2" />
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:title" content="Toolbox - Handy online tools for developers" />
|
||||
|
|
@ -39,7 +39,7 @@
|
|||
name="twitter:description"
|
||||
content="Collection of handy online tools for developers, with great UX. Toolbox is a free and open-source collection of handy online tools for developers & people working in IT."
|
||||
/>
|
||||
<meta name="twitter:image" content="https://toolbox.destan.dev/banner.png?v=2" />
|
||||
<meta name="twitter:image" content="https://toolbox.destan.workers.dev/banner.png?v=2" />
|
||||
<meta name="twitter:image:alt" content="Toolbox - Handy online tools for developers" />
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const errorCorrectionLevel = ref<QRCodeErrorCorrectionLevel>('medium');
|
|||
|
||||
const errorCorrectionLevels = ['low', 'medium', 'quartile', 'high'];
|
||||
|
||||
const text = ref('https://toolbox.destan.dev');
|
||||
const text = ref('https://toolbox.destan.workers.dev');
|
||||
const { qrcode } = useQRCode({
|
||||
text,
|
||||
color: {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import InputCopyable from '../../components/InputCopyable.vue';
|
|||
import { isNotThrowing } from '@/utils/boolean';
|
||||
import { withDefaultOnError } from '@/utils/defaults';
|
||||
|
||||
const urlToParse = ref('https://me:pwd@toolbox.destan.dev:3000/url-parser?key1=value&key2=value2#the-hash');
|
||||
const urlToParse = ref('https://me:pwd@example.com:3000/url-parser?key1=value&key2=value2#the-hash');
|
||||
|
||||
const urlParsed = computed(() => withDefaultOnError(() => new URL(urlToParse.value), undefined));
|
||||
const urlValidationRules = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue