Make machine configuration authoritative and restore native checkpoints exactly
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
export const AXIS_ASSET_ROOT = "/linuxcnc/share/axis/images";
|
||||
import { WEB_SETTINGS, axisImagePath } from "../workspace/web-settings.mjs";
|
||||
export const AXIS_ASSET_ROOT = `./${WEB_SETTINGS.assets.axis_images}`;
|
||||
|
||||
export function axisAsset(name) {
|
||||
return `${AXIS_ASSET_ROOT}/${name}`;
|
||||
return axisImagePath(name);
|
||||
}
|
||||
|
||||
export function appendAxisIcon(document, button, asset, label) {
|
||||
|
||||
Reference in New Issue
Block a user