We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07358d6 commit df685c7Copy full SHA for df685c7
lib/pages/post_list_page.dart
@@ -82,7 +82,7 @@ class _PostListPageState extends State<PostListPage> {
82
83
void _copyCurrentPostUrlToClipboard() {
84
try {
85
- final postPath = '/post/${currentPost.meta.slug}';
+ final postPath = 'post/${currentPost.meta.slug}';
86
web.window.history.pushState(null, '', postPath);
87
88
final postUrl = web.window.location.href;
@@ -264,7 +264,7 @@ class _PostListPageState extends State<PostListPage> {
264
trailing: const Icon(Icons.chevron_right),
265
onTap: () {
266
final postPath =
267
- '/post/${Uri.encodeComponent(d.meta.slug)}';
+ 'post/${Uri.encodeComponent(d.meta.slug)}';
268
// 주소 표시줄을 포스트 경로로 즉시 갱신
269
web.window.history
270
.pushState(null, d.meta.title, postPath);
0 commit comments