Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,35 @@ This application requires node.js v20.0 or greater. Using [`nvm`](https://github

- `nvm install 20`
- `nvm use 20` or `nvm use default 20`, as most of the REMS Integration Prototype repositories are compatible with node v20.0.

# Data Rights

<div style="text-align:center">
<b>NOTICE</b>
</div>

This (software/technical data) was produced for the U. S. Government under Contract Number 75FCMC18D0047/75FCMC23D0004, and is subject to Federal Acquisition Regulation Clause 52.227-14, Rights in Data-General.


No other use other than that granted to the U. S. Government, or to those acting on behalf of the U. S. Government under that Clause is authorized without the express written permission of The MITRE Corporation.


For further information, please contact The MITRE Corporation, Contracts Management Office, 7515 Colshire Drive, McLean, VA 22102-7539, (703) 983-6000.

<div style="text-align:center">
<b>&copy;2025 The MITRE Corporation.</b>
</div>

<br />

Licensed under the Apache License, Version 2.0 (the "License"); use of this repository is permitted in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

2 changes: 1 addition & 1 deletion backend/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async function main() {
origin: env.ALLOWED_ORIGIN
};

console.log("CORS OPTIONS: " + JSON.stringify(options))
console.log('CORS OPTIONS: ' + JSON.stringify(options));

app.use(bodyParser.urlencoded({ extended: false }));
app.use(cors(options));
Expand Down
4 changes: 2 additions & 2 deletions frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
plugins: [react()],
preview: {
allowedHosts: ['.mitre.org', '.elb.us-east-1.amazonaws.com'],
port: parseInt(process.env.PORT!),
host: true,
port: parseInt(process.env.PORT!),

Check warning on line 13 in frontend/vite.config.ts

View workflow job for this annotation

GitHub Actions / Check tsc, lint, and prettier on front end

Forbidden non-null assertion

Check warning on line 13 in frontend/vite.config.ts

View workflow job for this annotation

GitHub Actions / Check tsc, lint, and prettier on front end

Forbidden non-null assertion
host: true
},
define: {
'process.env': process.env
},
server: {
port: parseInt(process.env.PORT!),

Check warning on line 20 in frontend/vite.config.ts

View workflow job for this annotation

GitHub Actions / Check tsc, lint, and prettier on front end

Forbidden non-null assertion

Check warning on line 20 in frontend/vite.config.ts

View workflow job for this annotation

GitHub Actions / Check tsc, lint, and prettier on front end

Forbidden non-null assertion
open: false,
host: true,
allowedHosts: ['.mitre.org', '.elb.us-east-1.amazonaws.com']
Expand Down
Loading