瀏覽代碼

static subdirectory

Bob Mottram 8 年之前
父節點
當前提交
514a536f40
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/freedombone-utils-gnusocialtools

+ 1
- 1
src/freedombone-utils-gnusocialtools 查看文件

@@ -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"