bugy / script-server

Web UI for your scripts with execution management
Other
1.52k stars 244 forks source link

Is that anyway to add env variable into server_file file_dir? #750

Closed Junlim2804 closed 1 month ago

Junlim2804 commented 1 month ago
    {
      "name": "File path",
      "same_arg_param": false,
      "type": "server_file",
      "file_dir": "${ddl_store_location}",
      "file_recursive": true,
      "file_type": "file",
      "file_extensions": [
        ".sql"
      ]
    }

The $ddl_store_location is the file_path that store in server env. May I know is there any way to add it to file_dir ? Thank you

bugy commented 1 month ago

Hi, can you try using $$ddl_store_location ?

Junlim2804 commented 1 month ago

It's working. Thank you very much on help.