瀏覽代碼

Add postdeploy composer commands

Bubka 3 年之前
父節點
當前提交
b9718b411c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app.json

+ 1 - 1
app.json

@@ -15,7 +15,7 @@
     "repository": "https://github.com/Bubka/2FAuth",
     "success_url": "/register",
     "scripts": {
-      "postdeploy": "php artisan migrate:refresh;"
+      "postdeploy": "php artisan migrate:refresh;php artisan passport:install;php artisan storage:link"
     },
     "env": {
       "APP_KEY": {