update for ntwl.xyz

This commit is contained in:
Nathan Rashleigh committed 2025-04-25 12:14:13 +10:00
1 parent 54b1900c88
commit f2d805b7e5
8 files changed
+16 -16

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
{
"name": "mates-crates",
"name": "crates",
"version": "1.0.0",
"description": "",
"main": "index.js",
+2 -2
View File
@@ -16,7 +16,7 @@ import Search from './routes/search';
import List from './routes/list';
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="/search" component={Search} />
<Route path="/list" component={List} />
<Route path="/info" component={Info} />
{/*<Route path="/info" component={Info} />*/}
{/* ACP */}
<Route path="/acp" component={Acp} />
+1 -1
View File
@@ -25,7 +25,7 @@ const Nav = () => {
}
route(DEFAULT_ROUTE)
if (window.location.host === 'matescrates.au') {
if (window.location.host === 'crates.ntwl.xyz') {
LogRocket.identify(user.id, {
name: user.email,
email: user.email,
+1 -1
View File
@@ -38,7 +38,7 @@ function Item({ item }) {
<h4>{item.listing.data.release.description}</h4>
</a>
<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>
<label>Set Status:</label>
<select onChange={onChange}>
+3 -3
View File
@@ -107,9 +107,9 @@ function LoginPage({ mode }) {
<Login mode={mode} />
<Swirl />
<div class='words'>
<p>Mates Crates is a record importing service.</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>record importing service</p>
<p>we bundle orders together from thousands of online stores to reduce the cost of shipping vinyl</p>
<p>then we get together and play them</p>
</div>
</div>
)
+1 -1
View File
@@ -2,7 +2,7 @@
<html lang="en">
<head>
<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="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
+2 -2
View File
@@ -2,13 +2,13 @@ version: "3.3"
services:
client:
image: crates-client
image: registry.ntwl.xyz/crates-client
build:
context: ./client
dockerfile: ./client.Dockerfile
api:
image: crates-api
image: registry.ntwl.xyz/crates-api
build:
context: ./api
dockerfile: ./api.Dockerfile
+5 -5
View File
@@ -1,8 +1,8 @@
upstream mcrates_api {
upstream crates_api {
server api:41337;
}
upstream mcrates_client {
upstream crates_client {
server client:8080;
}
@@ -13,12 +13,12 @@ map $http_upgrade $connection_upgrade {
server {
location / {
proxy_pass http://mcrates_client;
proxy_pass http://crates_client;
proxy_read_timeout 600s;
}
location /api/ws {
proxy_pass http://mcrates_api;
proxy_pass http://crates_api;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
@@ -28,7 +28,7 @@ server {
location /api/ {
# trailing slash means api will receive url WITHOUT /api
proxy_pass http://mcrates_api/;
proxy_pass http://crates_api/;
proxy_read_timeout 600s;
}
}