update for ntwl.xyz
This commit is contained in:
1 parent
54b1900c88
commit
f2d805b7e5
8 files changed
+16
-16
No files matched your search
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "mates-crates",
|
"name": "crates",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
|||||||
+2
-2
@@ -16,7 +16,7 @@ import Search from './routes/search';
|
|||||||
import List from './routes/list';
|
import List from './routes/list';
|
||||||
import Info from './routes/info';
|
import Info from './routes/info';
|
||||||
|
|
||||||
if (window.location.host === 'crates.strix.systems') LogRocket.init('yh0dy3/mcrates');
|
if (window.location.host === 'crates.ntwl.xyz') LogRocket.init('yh0dy3/mcrates');
|
||||||
|
|
||||||
|
|
||||||
// ██ ██ ███████ █████ ██████ ███████ ███████ ██████ ██████ █████ ██████ ██ ██
|
// ██ ██ ███████ █████ ██████ ███████ ███████ ██████ ██████ █████ ██████ ██ ██
|
||||||
@@ -54,7 +54,7 @@ const Mcrates = () => {
|
|||||||
<Route path="/register" component={Login} mode="register" />
|
<Route path="/register" component={Login} mode="register" />
|
||||||
<Route path="/search" component={Search} />
|
<Route path="/search" component={Search} />
|
||||||
<Route path="/list" component={List} />
|
<Route path="/list" component={List} />
|
||||||
<Route path="/info" component={Info} />
|
{/*<Route path="/info" component={Info} />*/}
|
||||||
|
|
||||||
{/* ACP */}
|
{/* ACP */}
|
||||||
<Route path="/acp" component={Acp} />
|
<Route path="/acp" component={Acp} />
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ const Nav = () => {
|
|||||||
}
|
}
|
||||||
route(DEFAULT_ROUTE)
|
route(DEFAULT_ROUTE)
|
||||||
|
|
||||||
if (window.location.host === 'matescrates.au') {
|
if (window.location.host === 'crates.ntwl.xyz') {
|
||||||
LogRocket.identify(user.id, {
|
LogRocket.identify(user.id, {
|
||||||
name: user.email,
|
name: user.email,
|
||||||
email: user.email,
|
email: user.email,
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ function Item({ item }) {
|
|||||||
<h4>{item.listing.data.release.description}</h4>
|
<h4>{item.listing.data.release.description}</h4>
|
||||||
</a>
|
</a>
|
||||||
<h5>{item.user.email}</h5>
|
<h5>{item.user.email}</h5>
|
||||||
<h5 class='alt-text'>{item.total}</h5>
|
<h5 class='alt-text'>{item.total} - {item.condition}</h5>
|
||||||
<h5>{item.status}</h5>
|
<h5>{item.status}</h5>
|
||||||
<label>Set Status:</label>
|
<label>Set Status:</label>
|
||||||
<select onChange={onChange}>
|
<select onChange={onChange}>
|
||||||
|
|||||||
@@ -107,9 +107,9 @@ function LoginPage({ mode }) {
|
|||||||
<Login mode={mode} />
|
<Login mode={mode} />
|
||||||
<Swirl />
|
<Swirl />
|
||||||
<div class='words'>
|
<div class='words'>
|
||||||
<p>Mates Crates is a record importing service.</p>
|
<p>record importing service</p>
|
||||||
<p>We bundle orders together from thousands of online stores to reduce the cost of shipping vinyl.</p>
|
<p>we bundle orders together from thousands of online stores to reduce the cost of shipping vinyl</p>
|
||||||
<p>Records can then be picked up from Preston.</p>
|
<p>then we get together and play them</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>matescrates.au - record import service</title>
|
<title>crates - record import service</title>
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<meta name="mobile-web-app-capable" content="yes">
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
|
|||||||
@@ -2,13 +2,13 @@ version: "3.3"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
client:
|
client:
|
||||||
image: crates-client
|
image: registry.ntwl.xyz/crates-client
|
||||||
build:
|
build:
|
||||||
context: ./client
|
context: ./client
|
||||||
dockerfile: ./client.Dockerfile
|
dockerfile: ./client.Dockerfile
|
||||||
|
|
||||||
api:
|
api:
|
||||||
image: crates-api
|
image: registry.ntwl.xyz/crates-api
|
||||||
build:
|
build:
|
||||||
context: ./api
|
context: ./api
|
||||||
dockerfile: ./api.Dockerfile
|
dockerfile: ./api.Dockerfile
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
upstream mcrates_api {
|
upstream crates_api {
|
||||||
server api:41337;
|
server api:41337;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream mcrates_client {
|
upstream crates_client {
|
||||||
server client:8080;
|
server client:8080;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -13,12 +13,12 @@ map $http_upgrade $connection_upgrade {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://mcrates_client;
|
proxy_pass http://crates_client;
|
||||||
proxy_read_timeout 600s;
|
proxy_read_timeout 600s;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /api/ws {
|
location /api/ws {
|
||||||
proxy_pass http://mcrates_api;
|
proxy_pass http://crates_api;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection $connection_upgrade;
|
proxy_set_header Connection $connection_upgrade;
|
||||||
@@ -28,7 +28,7 @@ server {
|
|||||||
|
|
||||||
location /api/ {
|
location /api/ {
|
||||||
# trailing slash means api will receive url WITHOUT /api
|
# trailing slash means api will receive url WITHOUT /api
|
||||||
proxy_pass http://mcrates_api/;
|
proxy_pass http://crates_api/;
|
||||||
proxy_read_timeout 600s;
|
proxy_read_timeout 600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user