Skip to content

Commit

Permalink
Fix storage config, add oauth import, remove unused dep (#139811)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmrabian authored Oct 30, 2024
1 parent 3aa3538 commit b7e2c23
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
1 change: 0 additions & 1 deletion services/ui-src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@aws-amplify/rtn-web-browser": "^1.0.28",
"@cmsgov/design-system": "^3.8.0",
"@fortawesome/fontawesome-svg-core": "^1.2.29",
"@fortawesome/free-solid-svg-icons": "^5.13.1",
Expand Down
7 changes: 5 additions & 2 deletions services/ui-src/src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import store from "./store/storeIndex";
import BrowserIssue from "./components/layout/BrowserIssue";
import App from "./App";
import { Amplify } from "aws-amplify";
import "aws-amplify/auth/enable-oauth-listener";
import config from "./config";
import { asyncWithLDProvider } from "launchdarkly-react-client-sdk";

Expand All @@ -18,8 +19,10 @@ const isEdge = !isIE && !!window.StyleMedia;

Amplify.configure({
Storage: {
region: config.s3.REGION,
bucket: config.s3.BUCKET,
S3: {
region: config.s3.REGION,
bucket: config.s3.BUCKET,
},
},
API: {
REST: {
Expand Down
5 changes: 0 additions & 5 deletions services/ui-src/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,6 @@
resolved "https://registry.yarnpkg.com/@aws-amplify/plugin-types/-/plugin-types-0.9.0.tgz#45a3361bac7fcb74d0ceecabe84f0627d0812a89"
integrity sha512-dOwuyjRWKHvKSxcCwycdBTb6clRr2/soW1hL+HaXyTN69+dQanQegpS6ylmVwbPPiy9q2LCbqaw+5Np7bacLgw==

"@aws-amplify/rtn-web-browser@^1.0.28":
version "1.0.28"
resolved "https://registry.yarnpkg.com/@aws-amplify/rtn-web-browser/-/rtn-web-browser-1.0.28.tgz#f627990aa9463809253f4b6ea88a0e950353dda4"
integrity sha512-AD0RgXtyA4bJxXBrLdQ6AzJv2udDJMxhMMwk4qU8M1ceeGk1SmvO99fX6Z1X0z5m8MScHPlKZ2Mc1IkUX2uYig==

"@aws-amplify/[email protected]":
version "6.6.10"
resolved "https://registry.yarnpkg.com/@aws-amplify/storage/-/storage-6.6.10.tgz#ef0236b03456efbd0d4e96db3cdb9c562390e1e9"
Expand Down

0 comments on commit b7e2c23

Please sign in to comment.