Skip to content

Commit 42ca901

Browse files
committed
pushing
1 parent e72d9c9 commit 42ca901

File tree

21 files changed

+18022
-36874
lines changed

21 files changed

+18022
-36874
lines changed
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
REACT_APP_AUTH0_DOMAIN=dev-mui7zm42.us.auth0.com
2-
REACT_APP_AUTH0_CLIENT_ID=YOUR_NEUROSTORE_API_AUTH0_CLIENT_ID
3-
REACT_APP_AUTH0_CLIENT_SECRET=YOUR_AUTH0_CLIENT_SECRET
4-
REACT_APP_AUTH0_AUDIENCE=localhost
5-
REACT_APP_NEUROSTORE_API_DOMAIN=http://localhost/api
6-
REACT_APP_NEUROSYNTH_API_DOMAIN=http://localhost:81/api
7-
REACT_APP_ENV=DEV
8-
REACT_APP_PUBMED_API_KEY=YOUR_PUBMED_KEY
1+
VITE_APP_AUTH0_DOMAIN=dev-mui7zm42.us.auth0.com
2+
VITE_APP_AUTH0_CLIENT_ID=YOUR_NEUROSTORE_API_AUTH0_CLIENT_ID
3+
VITE_APP_AUTH0_CLIENT_SECRET=YOUR_AUTH0_CLIENT_SECRET
4+
VITE_APP_AUTH0_AUDIENCE=localhost
5+
VITE_APP_NEUROSTORE_API_DOMAIN=http://localhost/api
6+
VITE_APP_NEUROSYNTH_API_DOMAIN=http://localhost:81/api
7+
VITE_APP_ENV=DEV
8+
VITE_APP_PUBMED_API_KEY=YOUR_PUBMED_KEY

compose/neurosynth-frontend/cypress.config.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ export default defineConfig({
2424
env: {
2525
auth0Username: '[email protected]',
2626
auth0Password: 'password',
27-
auth0ClientId: process.env.REACT_APP_AUTH0_CLIENT_ID,
28-
auth0ClientSecret: process.env.REACT_APP_AUTH0_CLIENT_SECRET,
29-
auth0Domain: process.env.REACT_APP_AUTH0_DOMAIN,
30-
auth0Audience: process.env.REACT_APP_AUTH0_AUDIENCE,
31-
neurostoreAPIBaseURL: process.env.REACT_APP_NEUROSTORE_API_DOMAIN,
32-
neurosynthAPIBaseURL: process.env.REACT_APP_NEUROSYNTH_API_DOMAIN,
27+
auth0ClientId: process.env.VITE_APP_AUTH0_CLIENT_ID,
28+
auth0ClientSecret: process.env.VITE_APP_AUTH0_CLIENT_SECRET,
29+
auth0Domain: process.env.VITE_APP_AUTH0_DOMAIN,
30+
auth0Audience: process.env.VITE_APP_AUTH0_AUDIENCE,
31+
neurostoreAPIBaseURL: process.env.VITE_APP_NEUROSTORE_API_DOMAIN,
32+
neurosynthAPIBaseURL: process.env.VITE_APP_NEUROSYNTH_API_DOMAIN,
3333
},
3434
});

compose/neurosynth-frontend/public/index.html renamed to compose/neurosynth-frontend/index.html

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,23 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
5+
<link rel="icon" href="/favicon.ico" />
66
<meta name="viewport" content="width=device-width, initial-scale=1" />
77
<meta name="theme-color" content="#000000" />
88
<meta name="description" content="Neurosynth-Compose App" />
9-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
9+
<link rel="apple-touch-icon" href="/logo192.png" />
1010
<!--
1111
manifest.json provides metadata used when your web app is installed on a
1212
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
1313
-->
14-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
14+
<link rel="manifest" href="/manifest.json" />
1515

1616
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
1717

1818
<link rel="preload" as="image" href="/static/brain-analysis.png" type="image/png">
1919

20+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/handsontable/dist/handsontable.full.min.css" />
21+
2022
<link
2123
rel="stylesheet"
2224
media="print"
@@ -46,16 +48,6 @@
4648
<script async src="https://w.appzi.io/w.js"></script>
4749

4850
<!-- End Appzi -->
49-
50-
<!--
51-
Notice the use of %PUBLIC_URL% in the tags above.
52-
It will be replaced with the URL of the `public` folder during the build.
53-
Only files inside the `public` folder can be referenced from the HTML.
54-
55-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
56-
work correctly both with client-side routing and a non-root public URL.
57-
Learn how to configure a non-root public URL by running `npm run build`.
58-
-->
5951
<title>neurosynth compose</title>
6052
</head>
6153
<body>
@@ -71,6 +63,7 @@
7163
To begin the development, run `npm start` or `yarn start`.
7264
To create a production bundle, use `npm run build` or `yarn build`.
7365
-->
74-
<div id="portal" style="position: fixed; left: 0; top: 0; z-index: 9999;" />
66+
<div id="portal" style="position: fixed; left: 0; top: 0; z-index: 9999;"></div>
67+
<script type="module" src="/src/index.tsx"></script>
7568
</body>
7669
</html>

0 commit comments

Comments
 (0)