Skip to content

Commit

Permalink
Updated profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
cjmalloy committed Jul 9, 2024
1 parent c1761d4 commit 0320c02
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ try {
serverVersion: 'v1.2',
pullServer: true,
serverPort: '8081',
serverProfiles: 'prod,jwt,storage,ai',
serverProfiles: 'prod,jwt,storage,scripts,proxy,file-cache',
clientVersion: 'v1.2',
pullClient: true,
clientPort: '8082',
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ services:
JASPER_TITLE: "${JASPER_CLIENT_TITLE}"
JASPER_VERSION: "${JASPER_CLIENT_VERSION:-latest}"
JASPER_TOKEN: "${JASPER_CLIENT_TOKEN}"
JASPER_PREFETCH: true
CSP_DEFAULT_SRC: "http://localhost:${JASPER_SERVER_PORT:-8081} ws://localhost:${JASPER_SERVER_PORT:-8081}"
CSP_CONNECT_SRC: "http://localhost:${JASPER_SERVER_PORT:-8081} ws://localhost:${JASPER_SERVER_PORT:-8081}"

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jasper-app",
"productName": "Jasper",
"version": "1.0.55",
"version": "1.0.56",
"description": "Desktop app for Jasper KM",
"repository": "cjmalloy/jasper-app",
"author": {
Expand Down
8 changes: 6 additions & 2 deletions settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@
const profiles = [
'prod',
'debug',
'ai',
'scripts',
'proxy',
'file-cache',
'recycler',
'preload',
];
Expand Down Expand Up @@ -217,7 +219,9 @@ <h1>Jasper Application Settings</h1>

<label for="serverProfiles">Server Profiles</label>
<div class="cb">
<span><input type="checkbox" id="serverProfiles_ai" onclick="updateProfiles()"><label for="serverProfiles_ai">AI</label></span>
<span><input type="checkbox" id="serverProfiles_scripts" onclick="updateProfiles()"><label for="serverProfiles_scripts">Server Scripts</label></span>
<span><input type="checkbox" id="serverProfiles_proxy" onclick="updateProfiles()"><label for="serverProfiles_proxy">Proxy</label></span>
<span><input type="checkbox" id="serverProfiles_file-cache" onclick="updateProfiles()"><label for="serverProfiles_file-cache">File Cache</label></span>
<span><input type="checkbox" id="serverProfiles_recycler" onclick="updateProfiles()"><label for="serverProfiles_recycler">Recycler</label></span>
<span><input type="checkbox" id="serverProfiles_preload" onclick="updateProfiles()"><label for="serverProfiles_preload">Preload</label></span>
<span><input type="checkbox" id="serverProfiles_debug" onclick="updateProfiles()"><label for="serverProfiles_debug">Debug</label></span>
Expand Down

0 comments on commit 0320c02

Please sign in to comment.