Skip to content

Commit

Permalink
fix: introduce BACKEND_SECRET env variable (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
hairmare authored Jun 12, 2023
1 parent 500546d commit e8eb56a
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions app-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ backend:
# Used for enabling authentication, secret is shared by all backend plugins
# See https://backstage.io/docs/tutorials/backend-to-backend-auth for
# information on the format
# auth:
# keys:
# - secret: ${BACKEND_SECRET}
auth:
keys:
- secret: ${BACKEND_SECRET}
baseUrl: http://localhost:7007
listen:
port: 7007
Expand Down
2 changes: 1 addition & 1 deletion packages/app/public/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ export const DevToolsPage = () => {
);
};

export const customDevToolsPage = <DevToolsPage />;
export const customDevToolsPage = <DevToolsPage />;
2 changes: 1 addition & 1 deletion packages/app/src/components/home/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ export const homePage = (
</CustomHomepageGrid>
</Content>
</Page>
)
)
2 changes: 1 addition & 1 deletion packages/backend/src/plugins/devtools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ export default function createPlugin(
config: env.config,
permissions: env.permissions,
});
}
}
2 changes: 1 addition & 1 deletion packages/backend/src/plugins/permission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ export default async function createPlugin(
policy: new CustomPermissionPolicy(),
identity: env.identity,
});
}
}
2 changes: 1 addition & 1 deletion packages/backend/src/plugins/techinsights.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,4 @@ export default async function createPlugin(
logger: env.logger,
config: env.config,
});
}
}

0 comments on commit e8eb56a

Please sign in to comment.