Commit a766831
committed
feat: Update clone_wp_site.py to clone src app config
Applications store their config in a 'json' field (which is submitted as JSON in the REST API). In opalstack-python, this field is represented by a dictionary.
This change stores the source app config and applies it to the created app, which preserves such settings as "gzip", "php_version", and "auto_site_url".1 parent c5fc6c5 commit a766831
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
83 | 89 | | |
84 | 90 | | |
85 | 91 | | |
| |||
111 | 117 | | |
112 | 118 | | |
113 | 119 | | |
114 | | - | |
| 120 | + | |
| 121 | + | |
115 | 122 | | |
116 | 123 | | |
117 | 124 | | |
| |||
0 commit comments