SSR Switch

This commit is contained in:
2020-08-14 01:32:51 +05:00
parent a1e8f81b48
commit 2a8c2c095a
22 changed files with 125306 additions and 97 deletions

View File

@@ -28,7 +28,7 @@ class ArticleResource extends JsonResource
"readtime" => (new ReadTime($this->body))->get(),
"source" => new SourceResource($this->source),
"topics" => TopicResource::collection($this->topics),
"link" => url(route('article.show',$this->id)),
"link" => url(route('api.article.show',$this->id)),
"published_date" => $this->published_date
];