Skip to content

Commit

Permalink
Fix: pass Safe Apps origin as url, not clientUrl (#626)
Browse files Browse the repository at this point in the history
* Fix: pass Safe Apps origin as url, not clientUrl

* Rm enableCors
  • Loading branch information
katspaugh authored Aug 8, 2023
1 parent 600afcb commit d4a2f49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ async function bootstrap() {
app.get<IConfigurationService>(IConfigurationService);
const applicationPort: string =
configurationService.getOrThrow('applicationPort');

await app.listen(applicationPort);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class SafeAppInfoMapper {

const [safeApp] = await this.safeAppsRepository.getSafeApps({
chainId,
clientUrl: originUrl,
url: originUrl,
});
if (!safeApp) {
this.loggingService.info(
Expand Down

0 comments on commit d4a2f49

Please sign in to comment.