Add 3.11
This commit is contained in:
13
part3/phonebook/build/asset-manifest.json
Normal file
13
part3/phonebook/build/asset-manifest.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"files": {
|
||||
"main.css": "/static/css/main.7e49b65b.css",
|
||||
"main.js": "/static/js/main.fee9d5c6.js",
|
||||
"index.html": "/index.html",
|
||||
"main.7e49b65b.css.map": "/static/css/main.7e49b65b.css.map",
|
||||
"main.fee9d5c6.js.map": "/static/js/main.fee9d5c6.js.map"
|
||||
},
|
||||
"entrypoints": [
|
||||
"static/css/main.7e49b65b.css",
|
||||
"static/js/main.fee9d5c6.js"
|
||||
]
|
||||
}
|
||||
BIN
part3/phonebook/build/favicon.ico
Normal file
BIN
part3/phonebook/build/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.8 KiB |
1
part3/phonebook/build/index.html
Normal file
1
part3/phonebook/build/index.html
Normal file
@@ -0,0 +1 @@
|
||||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>React App</title><script defer="defer" src="/static/js/main.fee9d5c6.js"></script><link href="/static/css/main.7e49b65b.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
||||
BIN
part3/phonebook/build/logo192.png
Normal file
BIN
part3/phonebook/build/logo192.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.2 KiB |
BIN
part3/phonebook/build/logo512.png
Normal file
BIN
part3/phonebook/build/logo512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.4 KiB |
25
part3/phonebook/build/manifest.json
Normal file
25
part3/phonebook/build/manifest.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"short_name": "React App",
|
||||
"name": "Create React App Sample",
|
||||
"icons": [
|
||||
{
|
||||
"src": "favicon.ico",
|
||||
"sizes": "64x64 32x32 24x24 16x16",
|
||||
"type": "image/x-icon"
|
||||
},
|
||||
{
|
||||
"src": "logo192.png",
|
||||
"type": "image/png",
|
||||
"sizes": "192x192"
|
||||
},
|
||||
{
|
||||
"src": "logo512.png",
|
||||
"type": "image/png",
|
||||
"sizes": "512x512"
|
||||
}
|
||||
],
|
||||
"start_url": ".",
|
||||
"display": "standalone",
|
||||
"theme_color": "#000000",
|
||||
"background_color": "#ffffff"
|
||||
}
|
||||
3
part3/phonebook/build/robots.txt
Normal file
3
part3/phonebook/build/robots.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
# https://www.robotstxt.org/robotstxt.html
|
||||
User-agent: *
|
||||
Disallow:
|
||||
2
part3/phonebook/build/static/css/main.7e49b65b.css
Normal file
2
part3/phonebook/build/static/css/main.7e49b65b.css
Normal file
@@ -0,0 +1,2 @@
|
||||
.success-message{color:green}.error-message{color:red}.error-message,.success-message{background:gray;border-radius:5px;border-style:solid;font-size:20px;margin-bottom:10px;padding:10px}
|
||||
/*# sourceMappingURL=main.7e49b65b.css.map*/
|
||||
1
part3/phonebook/build/static/css/main.7e49b65b.css.map
Normal file
1
part3/phonebook/build/static/css/main.7e49b65b.css.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"static/css/main.7e49b65b.css","mappings":"AAAA,iBACI,WACJ,CAEA,eACI,SACJ,CAEA,gCACI,eAAgB,CAGhB,iBAAkB,CADlB,kBAAmB,CADnB,cAAe,CAIf,kBAAmB,CADnB,YAEJ","sources":["index.css"],"sourcesContent":[".success-message {\n color: green;\n}\n\n.error-message {\n color: red;\n}\n\n.success-message, .error-message {\n background: gray;\n font-size: 20px;\n border-style: solid;\n border-radius: 5px;\n padding: 10px;\n margin-bottom: 10px;\n}\n"],"names":[],"sourceRoot":""}
|
||||
3
part3/phonebook/build/static/js/main.fee9d5c6.js
Normal file
3
part3/phonebook/build/static/js/main.fee9d5c6.js
Normal file
File diff suppressed because one or more lines are too long
39
part3/phonebook/build/static/js/main.fee9d5c6.js.LICENSE.txt
Normal file
39
part3/phonebook/build/static/js/main.fee9d5c6.js.LICENSE.txt
Normal file
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
* @license React
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react-jsx-runtime.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
1
part3/phonebook/build/static/js/main.fee9d5c6.js.map
Normal file
1
part3/phonebook/build/static/js/main.fee9d5c6.js.map
Normal file
File diff suppressed because one or more lines are too long
@@ -1,10 +1,12 @@
|
||||
const express = require("express");
|
||||
const app = express();
|
||||
app.use(express.json());
|
||||
const cors = require("cors");
|
||||
app.use(cors());
|
||||
const morgan = require("morgan");
|
||||
|
||||
app.use(express.json());
|
||||
app.use(cors());
|
||||
app.use(express.static('build'))
|
||||
|
||||
morgan.token("body", function (req, res) {
|
||||
return req.method === "POST" ? JSON.stringify(req.body) : "";
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user