mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 15:33:12 +09:00
Drop build tool names from the controller and static_url docs
Controller.viteServer becomes devServer, matching the devMiddleware name it replaced. The static_url limitation is described as one of the web build rather than webpack. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5c92a44e65
commit
bf847b8c74
4 files changed
+13
-13
No files matched your search
@@ -151,7 +151,7 @@ export class ControllerConfig extends classes.Config<ControllerConfigFields> {
|
||||
optional: true,
|
||||
validator: (value) => {
|
||||
if (value) {
|
||||
// This is unfortunately a limitiation of how the webpack build is set up right now.
|
||||
// This is unfortunately a limitiation of how the web build is set up right now.
|
||||
const pathname = new URL(value, "http://localhost/").pathname;
|
||||
if (pathname !== "/static/") {
|
||||
throw new Error(`Path component of static_url must be /static/ not ${pathname}.`);
|
||||
|
||||
Reference in new issue
Block a user