Pārlūkot izejas kodu

static subdirectory

Bob Mottram 8 gadus atpakaļ
vecāks
revīzija
514a536f40
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      src/freedombone-utils-gnusocialtools

+ 1
- 1
src/freedombone-utils-gnusocialtools Parādīt failu

@@ -70,7 +70,7 @@ function pleroma_set_background_image_from_url {
70 70
                 return
71 71
             fi
72 72
 
73
-            sed -i "s|\"background\":.*|\"background\": \"bg_custom.${ext}\",|g" config.json
73
+            sed -i "s|\"background\":.*|\"background\": \"/static/bg_custom.${ext}\",|g" config.json
74 74
         fi
75 75
     else
76 76
         echo "2"