File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ class _PostListPageState extends State<PostListPage> {
8282
8383 void _copyCurrentPostUrlToClipboard () {
8484 try {
85- final postPath = '/posts /${currentPost .meta .slug }' ;
85+ final postPath = '/post /${currentPost .meta .slug }' ;
8686 web.window.history.pushState (null , '' , postPath);
8787
8888 final postUrl = web.window.location.href;
@@ -264,7 +264,7 @@ class _PostListPageState extends State<PostListPage> {
264264 trailing: const Icon (Icons .chevron_right),
265265 onTap: () {
266266 final postPath =
267- '/posts /${Uri .encodeComponent (d .meta .slug )}' ;
267+ '/post /${Uri .encodeComponent (d .meta .slug )}' ;
268268 // 주소 표시줄을 포스트 경로로 즉시 갱신
269269 web.window.history
270270 .pushState (null , d.meta.title, postPath);
@@ -308,7 +308,7 @@ class _PostListPageState extends State<PostListPage> {
308308 leading: BackButton (
309309 onPressed: () => setState (() {
310310 isShowPostDetail = false ;
311- web.window.history.pushState (null , 'Posts ' , '/' );
311+ web.window.history.pushState (null , 'Post ' , '/' );
312312 }),
313313 ),
314314 actions: [
You can’t perform that action at this time.
0 commit comments