Fix github API endpoint in Posts.ts
This commit is contained in:
parent
1acdb2a58e
commit
9e94b582d8
@ -18,7 +18,7 @@ const Posts: CollectionConfig = {
|
|||||||
try {
|
try {
|
||||||
console.log(
|
console.log(
|
||||||
await fetch(
|
await fetch(
|
||||||
"https://api.github.com/repos/mooxl/astroad/dispatches",
|
`https://api.github.com/repos/mooxl/${process.env.name}/dispatches`,
|
||||||
{
|
{
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
|
Loading…
Reference in New Issue
Block a user