Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
szczygiel-m committed Aug 18, 2023
1 parent bbb89bf commit 801168f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion hermes-console-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build": "run-p type-check build-only",
"preview": "vite preview",
"test:unit": "vitest --environment jsdom",
"build-only": "vite build",
"build-only": "vite build --mode development",
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore",
"lint:fix": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
Expand Down
6 changes: 3 additions & 3 deletions hermes-console-vue/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import messages from '@/i18n/messages';
import piniaPluginPersistedState from 'pinia-plugin-persistedstate';
import router from './router';

if (import.meta.env.DEV) {
axios.defaults.baseURL = 'http://localhost:3000';
}
// if (import.meta.env.DEV) {
// axios.defaults.baseURL = 'http://localhost:3000';
// }
axios.defaults.timeout = 5000;

const vuetify = createVuetify({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ public ConsoleEndpoint(ConsoleService service) {
this.service = service;
}

@GET
@Path("/console")
@Produces("application/javascript")
@ApiOperation(value = "Hermes console configuration", httpMethod = HttpMethod.GET)
public String getConfiguration() {
return service.getConfiguration();
}

@GET
@Path("/console")
@Produces("application/json")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
public class JerseyProperties {

private List<String> packagesToScan = new ArrayList<>();
private String filterStaticContentRegexp = "(/status/|/assets/|favicon.ico).*";
private String filterStaticContentRegexp = "(/ui|/status/|/assets/|favicon.ico).*";

public List<String> getPackagesToScan() {
return packagesToScan;
Expand Down

0 comments on commit 801168f

Please sign in to comment.