Skip to content

Commit 2ac4d1e

Browse files
fix: update config publishing
1 parent 5f4633b commit 2ac4d1e

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

src/ServiceProvider.php

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -178,23 +178,9 @@ protected function registerAddonConfig(): self
178178
$this->mergeConfigFrom(__DIR__ . '/../config/vercel.php', 'statamic.vercel');
179179

180180
$this->publishes([
181-
__DIR__ . '/../config/redirect.php' => config_path('statamic/vercel.php'),
181+
__DIR__ . '/../config/vercel.php' => config_path('statamic/vercel.php'),
182182
], 'statamic-vercel-config');
183183

184184
return $this;
185185
}
186-
187-
protected function bootAddonConfig()
188-
{
189-
if ($this->app->runningInConsole()) {
190-
191-
$this->mergeConfigFrom(__DIR__ . '/../config/vercel.php', 'vercel');
192-
193-
$this->publishes([
194-
__DIR__ . '/../config/vercel.php' => config_path('statamic/vercel.php'),
195-
], 'vercel-config');
196-
}
197-
198-
return $this;
199-
}
200186
}

0 commit comments

Comments
 (0)