Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Back to post

Revisions 4


Astraoke - CORS problem on the Angular app in local enviroment
Astraoke - CORS problem on the Angular app in local enviroment
To fix this problem follow the next steps: 1. be sure to find in astrakode-repository-frontend\projects\AstrakodeBCPortal\src\main.ts file this line fo code commented // if ( // environment.SENTRY_DSN && // environment.TRACING_ORIGIN && // environment.TRACES_SAMPLE_RATE // ) { // Sentry.init({ // dsn: environment.SENTRY_DSN, // environment: environment.production ? "prod" : "dev", // autoSessionTracking: true, // integrations: [ // new Integrations.BrowserTracing({ // tracingOrigins: environment.TRACING_ORIGIN, // routingInstrumentation: Sentry.routingInstrumentation, // }), // ], // // We recommend adjusting this value in production, or using tracesSampler // // for finer control // tracesSampleRate: environment.TRACES_SAMPLE_RATE, // }); // } 2. then be sure to have in the environment.ts file API_URL with 'api' as value ``` API_URL: "api", ```
To fix this problem follow the next steps: 1. be sure to find in astrakode-repository-frontend\projects\AstrakodeBCPortal\src\main.ts file this line fo code commented // if ( // environment.SENTRY_DSN && // environment.TRACING_ORIGIN && // environment.TRACES_SAMPLE_RATE // ) { // Sentry.init({ // dsn: environment.SENTRY_DSN, // environment: environment.production ? "prod" : "dev", // autoSessionTracking: true, // integrations: [ // new Integrations.BrowserTracing({ // tracingOrigins: environment.TRACING_ORIGIN, // routingInstrumentation: Sentry.routingInstrumentation, // }), // ], // // We recommend adjusting this value in production, or using tracesSampler // // for finer control // tracesSampleRate: environment.TRACES_SAMPLE_RATE, // }); // } 2. then be sure to have in the enviroment.ts file API_URL with 'api' as value ``` API_URL: "api", ```
Astraoke - CORS problem on the Angular app in local enviroment
Astraoke - CORS problem on the Angular app in local enviroment
To fix this problem follow the next steps: 1. be sure to find in astrakode-repository-frontend\projects\AstrakodeBCPortal\src\main.ts file this line fo code commented // if ( // environment.SENTRY_DSN && // environment.TRACING_ORIGIN && // environment.TRACES_SAMPLE_RATE // ) { // Sentry.init({ // dsn: environment.SENTRY_DSN, // environment: environment.production ? "prod" : "dev", // autoSessionTracking: true, // integrations: [ // new Integrations.BrowserTracing({ // tracingOrigins: environment.TRACING_ORIGIN, // routingInstrumentation: Sentry.routingInstrumentation, // }), // ], // // We recommend adjusting this value in production, or using tracesSampler // // for finer control // tracesSampleRate: environment.TRACES_SAMPLE_RATE, // }); // } 2. then be sure to have in the enviroment.ts file API_URL with 'api' as value ``` API_URL: "api", ```
To fix this problem follow the next steps: 1. be sure to find in astrakode-repository-frontend\projects\AstrakodeBCPortal\src\main.ts file this line fo code commented ``` // if ( // environment.SENTRY_DSN && // environment.TRACING_ORIGIN && // environment.TRACES_SAMPLE_RATE // ) { // Sentry.init({ // dsn: environment.SENTRY_DSN, // environment: environment.production ? "prod" : "dev", // autoSessionTracking: true, // integrations: [ // new Integrations.BrowserTracing({ // tracingOrigins: environment.TRACING_ORIGIN, // routingInstrumentation: Sentry.routingInstrumentation, // }), // ], // // We recommend adjusting this value in production, or using tracesSampler // // for finer control // tracesSampleRate: environment.TRACES_SAMPLE_RATE, // }); // } ``` 2. then be sure to have in the enviroment.ts file API_URL with 'api' as value ``` API_URL: "api", ```
Astraoke - CORS problem on the Angular app in local enviroment
Astraoke - CORS problem on the Angular app in local enviroment
To fix this problem follow the next steps: 1. be sure to find in astrakode-repository-frontend\projects\AstrakodeBCPortal\src\main.ts file this line fo code commented ``` // if ( // environment.SENTRY_DSN && // environment.TRACING_ORIGIN && // environment.TRACES_SAMPLE_RATE // ) { // Sentry.init({ // dsn: environment.SENTRY_DSN, // environment: environment.production ? "prod" : "dev", // autoSessionTracking: true, // integrations: [ // new Integrations.BrowserTracing({ // tracingOrigins: environment.TRACING_ORIGIN, // routingInstrumentation: Sentry.routingInstrumentation, // }), // ], // // We recommend adjusting this value in production, or using tracesSampler // // for finer control // tracesSampleRate: environment.TRACES_SAMPLE_RATE, // }); // } ``` 2. then be sure to have in the enviroment.ts file API_URL with 'api' as value ``` API_URL: "api", ```
To fix this problem follow the next steps: 1. be sure to find in astrakode-repository-frontend\projects\AstrakodeBCPortal\src\main.ts file this line fo code commented `// if ( // environment.SENTRY_DSN && // environment.TRACING_ORIGIN && // environment.TRACES_SAMPLE_RATE // ) { // Sentry.init({ // dsn: environment.SENTRY_DSN, // environment: environment.production ? "prod" : "dev", // autoSessionTracking: true, // integrations: [ // new Integrations.BrowserTracing({ // tracingOrigins: environment.TRACING_ORIGIN, // routingInstrumentation: Sentry.routingInstrumentation, // }), // ], // // We recommend adjusting this value in production, or using tracesSampler // // for finer control // tracesSampleRate: environment.TRACES_SAMPLE_RATE, // }); // }` 2. then be sure to have in the enviroment.ts file API_URL with 'api' as value ``` API_URL: "api", ```
2 years ago
Original
Astraoke - CORS problem on the Angular app in local enviroment

To fix this problem follow the next steps: 1. be sure to find in astrakode-repository-frontend\projects\AstrakodeBCPortal\src\main.ts file this line fo code commented `// if ( // environment.SENTRY_DSN && // environment.TRACING_ORIGIN && // environment.TRACES_SAMPLE_RATE // ) { // Sentry.init({ // dsn: environment.SENTRY_DSN, // environment: environment.production ? "prod" : "dev", // autoSessionTracking: true, // integrations: [ // new Integrations.BrowserTracing({ // tracingOrigins: environment.TRACING_ORIGIN, // routingInstrumentation: Sentry.routingInstrumentation, // }), // ], // // We recommend adjusting this value in production, or using tracesSampler // // for finer control // tracesSampleRate: environment.TRACES_SAMPLE_RATE, // }); // }` 2. then be sure to have in the enviroment.ts file API_URL with 'api' as value ``` API_URL: "api", ```