Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
VilemRaska committed Feb 27, 2025
1 parent 13bcd70 commit fe356fa
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/gapp-dashboard/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
/* @layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
}
}
} */
4 changes: 4 additions & 0 deletions apps/gapp-server/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { telemetryController } from './controllers/telemetry.controller';
import servicesPlugin from './plugins/services';
import eventBusPlugin from './plugins/event-bus';
import abortControllerPlugin from './plugins/abort-controller';
import cors from '@fastify/cors'

interface AppOptions extends FastifyPluginOptions {
influxDbToken: string;
Expand All @@ -26,6 +27,9 @@ export const app = async (fastify: FastifyInstance, opts: AppOptions) => {
// LIBRARIES
fastify.register(Sensible);
fastify.register(eventBusPlugin);
fastify.register(cors, {
origin: '*'
});

// PLUGINS
await fastify.register(influxDbPlugin, {
Expand Down
33 changes: 33 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@angular/platform-browser": "19.1.7",
"@angular/platform-browser-dynamic": "19.1.7",
"@angular/router": "19.1.7",
"@fastify/cors": "^11.0.0",
"@fastify/sensible": "6.0.3",
"@fastify/static": "^8.1.0",
"@fastify/swagger": "^9.4.2",
Expand Down

0 comments on commit fe356fa

Please sign in to comment.