mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
refactor: update site URL to be single source of truth (#143)
* wip: astro config to use .ts instead of .mjs * fix: remove invalid prop in astro config * refactor: single source of truth for site url * refactor: make minor updates due to astro.config.ts --------- Co-authored-by: satnaing <satnaingdev@gmail.com>
This commit is contained in:
@@ -37,7 +37,7 @@ export function remarkReadingTime() {
|
||||
}
|
||||
```
|
||||
|
||||
Step (3) Add the plugin to `astro.config.mjs`
|
||||
Step (3) Add the plugin to `astro.config.ts`
|
||||
|
||||
```js
|
||||
import { remarkReadingTime } from "./src/utils/remark-reading-time.mjs"; // make sure your relative path is correct
|
||||
|
||||
Reference in New Issue
Block a user