Commit 65f4650
committed
fix: seed pod files skip-if-exists so user edits survive restarts
seedPodFiles() copied welcome.html (as index.html), signin, account
and docs pages into the pod root unconditionally on every start,
silently clobbering any edits the pod owner had made to those files.
Seed them only when the destination does not exist, the same
skip-if-exists behaviour JSS uses for its root landing page (and the
same rule this function already applied to links.jsonld and apps/).1 parent b217774 commit 65f4650
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
136 | 137 | | |
137 | 138 | | |
138 | | - | |
| 139 | + | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
144 | | - | |
| 145 | + | |
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
149 | | - | |
| 150 | + | |
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
| |||
0 commit comments