Skip to content

Commit

Permalink
feat: move project to new domain
Browse files Browse the repository at this point in the history
Signed-off-by: Certseeds <51754303+Certseeds@users.noreply.github.com>
  • Loading branch information
Certseeds committed Jul 1, 2023
1 parent 603135d commit 507e8d8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
openpgpage.certseeds.com
2 changes: 1 addition & 1 deletion src/components/linkes/openpgp.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as openpgp from 'openpgp';
import { getEncryKeyFromText } from '@/components/linkes/openpgp';

test('test encrypt and get KeyID', async () => {
const key = await fetch('https://certseeds.github.io/Certseeds/public.key', {
const key = await fetch('https://blog.certseeds.com/public.key', {
method: 'GET',
}).then(body => body.text());;
expect(key).not.toEqual('');
Expand Down
2 changes: 1 addition & 1 deletion src/components/linktokey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const fetchKeyByUrl: (prefix: string, path: string) => Promise<string> = async (
if (prefix === 'github') {
return await getGithubKey(path);
} else if (prefix.length === 0) {
const defaultKey = await fetch('https://certseeds.github.io/Certseeds/public.key', {
const defaultKey = await fetch('https://blog.certseeds.com/public.key', {
method: 'get',
}).then(body => body.text())
return defaultKey
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig({
base: '/openpgpage/',
base: '/',
plugins: [vue()],
resolve: {
alias: {
Expand Down

0 comments on commit 507e8d8

Please sign in to comment.