Alpha release (#810)

* fix: path to resources

* docs: rename aliases > url presets
This commit is contained in:
Carlos Valente
2024-03-09 22:44:35 +01:00
committed by GitHub
parent 41af3b7466
commit 63983fc39a
2 changed files with 5 additions and 5 deletions
+2 -3
View File
@@ -17,8 +17,7 @@ Ontime is an application for creating and managing event running order and timer
The user inputs a list of events along with scheduling and event information.
This will then populate a series of screens which are available to be rendered by any device in the Network.
This makes for a simple and cheap way to distribute over a venue using a network infrastructure instead of video
outputs.
This makes for a simple and cheap way to distribute over a venue using a network infrastructure instead of video outputs.
![App Window](https://github.com/cpvalente/ontime/blob/master/.github/aux-images/app.png)
@@ -39,7 +38,7 @@ You can then use the menu in the top left corner to select the desired view.
The menu will be initially hidden until there is mouse interaction.
In the case of unattended machines or automation, it is possible to use different URL to recall
individual views and extend view settings using the URL aliases feature
individual views and extend view settings using the URL presets feature
```
For the presentation views
+3 -2
View File
@@ -52,7 +52,9 @@ if (import.meta.url) {
}
// path to server src folder
export const srcDirectory = path.join(dirname(__dirname), '../');
const currentDir = dirname(__dirname);
// locally we are in src/setup, in the production build, this is a single file at src
export const srcDirectory = isProduction ? currentDir : path.join(currentDir, '../');
// resolve path to external
const productionPath = path.join(srcDirectory, '../../resources/extraResources/client');
@@ -104,7 +106,6 @@ export const pathToStartDb = isTest
? join(srcDirectory, '..', config.database.testdb, config.database.filename)
: join(srcDirectory, '/preloaded-db/', config.database.filename);
// TODO: move all static files to the external directory
// path to public styles
export const resolveStylesDirectory = join(externalsStartDirectory, config.styles.directory);
export const resolveStylesPath = join(resolveStylesDirectory, config.styles.filename);