about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHolger <holgerhuo@outlook.com>2022-03-31 17:20:26 +0800
committerGitHub <noreply@github.com>2022-03-31 11:20:26 +0200
commitea0cfd8e7ed41b32aaa47eabb1c73845ae843fcb (patch)
tree9da746bcd199b21f997d2987e0a7067aabd56243
parentef196c913c77338be5ebb1e02af2f6225f857080 (diff)
fix: PWA web manifest not changed to new routes (#17921)
-rw-r--r--app/serializers/manifest_serializer.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/serializers/manifest_serializer.rb b/app/serializers/manifest_serializer.rb
index 4786aa760..ad05fdf6b 100644
--- a/app/serializers/manifest_serializer.rb
+++ b/app/serializers/manifest_serializer.rb
@@ -44,7 +44,7 @@ class ManifestSerializer < ActiveModel::Serializer
   end
 
   def start_url
-    '/web/timelines/home'
+    '/web/home'
   end
 
   def scope
@@ -69,7 +69,7 @@ class ManifestSerializer < ActiveModel::Serializer
     [
       {
         name: 'New toot',
-        url: '/web/statuses/new',
+        url: '/web/publish',
         icons: [
           {
             src: '/shortcuts/new-status.png',
@@ -91,7 +91,7 @@ class ManifestSerializer < ActiveModel::Serializer
       },
       {
         name: 'Direct messages',
-        url: '/web/timelines/direct',
+        url: '/web/conversations',
         icons: [
           {
             src: '/shortcuts/direct.png',