Archived
1
0

working on reading form data

This commit is contained in:
Sean Edmunds
2021-12-27 15:55:01 -06:00
parent 663a2ee859
commit 8ef06a79b0
2 changed files with 3 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
const express = require("express");
const cors = require("cors");
const fs = require("fs");
const applications = require('../src/apps.json');
const links = require('../src/links.json');
@@ -39,6 +40,8 @@ app.get("/sui/api/messages", (req, res) => {
res.status(200).send(messages.messages);
});
// app is listening on port 5000
app.listen(5000, () => {
console.log("node server is running on port 5000");

View File

@@ -33,7 +33,6 @@ function ProviderSettings() {
</form>
<button onClick={handleSubmit} type="submit" form="providersForm" value="submit">Save</button>
</div>
);
}