Compare commits

...

2 Commits

Author SHA1 Message Date
Julien Calixte
71ad6bbc2e docs: rewrite README for apoena.dev 2026-05-23 16:12:56 +02:00
Julien Calixte
aa36e00576 fix: use plc.directory instead of plc.wtf for DID resolution
The plc.wtf mirror is returning HTTP 502, breaking the static build
when getStaticPaths fetches the PDS endpoint. plc.directory is the
canonical PLC directory and returns the same JSON shape.
2026-05-23 16:07:09 +02:00
2 changed files with 13 additions and 43 deletions

View File

@@ -1,50 +1,20 @@
# blog
# apoena.dev
[îles]: https://github.com/ElMassimo/iles
[configuration reference]: https://iles-docs.netlify.app/config
Julien Calixte's blog, built with [îles](https://github.com/ElMassimo/iles).
This template should help get you started developing with [îles].
Live at [apoena.dev](https://apoena.dev).
## Recommended IDE Setup
## Requirements
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur).
- Node.js >= 22
- pnpm 10
## Type Support for `.vue` Imports in TS
Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic `PageComponent` type by default. In most cases this is fine if you don't really care about component prop types outside of templates.
However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette.
## Customize configuration
See îles [Configuration Reference].
## Project Setup
## Scripts
```sh
npm install
```
### Compile and Hot-Reload for Development
```sh
npm run dev
```
### Type-Check, Compile and Minify for Production
```sh
npm run build
```
### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction)
```sh
npm run test:unit # or `npm run test:unit:ci` for headless testing
```
### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
```sh
npm run test:e2e # or `npm run test:e2e:ci` for headless testing
pnpm install # install dependencies
pnpm dev # start the dev server
pnpm build # build for production
pnpm preview # preview the production build on port 5050
pnpm typecheck # run vue-tsc
```

View File

@@ -8,7 +8,7 @@ export const getServiceEndpoint = async () => {
if (serviceEndpoint) {
return serviceEndpoint
}
const response = await fetch(`https://plc.wtf/${did}`)
const response = await fetch(`https://plc.directory/${did}`)
const {
service: [{ serviceEndpoint: endpoint }],
} = await response.json()