From 1050bcee020c6eef31e42da7cd35abe5eb2996bd Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Wed, 6 Apr 2022 07:44:05 -0700 Subject: [PATCH] Remove peddlers references Signed-off-by: James Ketrenos --- client/build/index.html | 2 +- client/public/index.html | 4 ++-- server/app.js | 2 +- server/package.json | 6 +++--- server/pass | 21 --------------------- 5 files changed, 7 insertions(+), 28 deletions(-) delete mode 100755 server/pass diff --git a/client/build/index.html b/client/build/index.html index 4e2ba62..15e8c37 100644 --- a/client/build/index.html +++ b/client/build/index.html @@ -1 +1 @@ -React App
\ No newline at end of file +Good Times
\ No newline at end of file diff --git a/client/public/index.html b/client/public/index.html index aa069f2..d87a7a4 100644 --- a/client/public/index.html +++ b/client/public/index.html @@ -7,7 +7,7 @@ - React App + Good Times diff --git a/server/app.js b/server/app.js index 40f218c..52d7de1 100755 --- a/server/app.js +++ b/server/app.js @@ -2,7 +2,7 @@ process.env.TZ = "Etc/GMT"; -console.log("Loading ketr.ketran"); +console.log("Loading Goodtimes"); const express = require("express"), bodyParser = require("body-parser"), diff --git a/server/package.json b/server/package.json index 3a4daab..158858d 100644 --- a/server/package.json +++ b/server/package.json @@ -1,11 +1,11 @@ { - "name": "peddlers-of-ketran-server", + "name": "goodtimes-server", "version": "1.0.0", "main": "app.js", "scripts": { "start": "export $(cat ../.env | xargs) && node app.js" }, - "author": "James Ketrenos ", + "author": "James Ketrenos ", "license": "MIT", "private": true, "dependencies": { @@ -33,6 +33,6 @@ }, "repository": { "type": "git", - "url": "git@git.ketrenos.com:jketreno/peddlers-of-ketran" + "url": "git@git.ketrenos.com:jketreno/goodtimes" } } diff --git a/server/pass b/server/pass deleted file mode 100755 index d5e765a..0000000 --- a/server/pass +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -ADMIN=$(jq -r .admin config/local.json) -if [[ "${ADMIN}" == "" ]]; then - echo "You need to set your { 'admin': 'secret' } in config/local.json" - exit 1 -fi - -id=$1 - -if [[ "${id}" == "" ]]; then - echo "Usage: pass GAME-ID" - exit 1 -fi - -curl --noproxy '*' -s -L \ - --request PUT \ - --header "PRIVATE-TOKEN: ${ADMIN}" \ - --header "Content-Type: application/json" \ - http://localhost:8930/ketr.ketran/api/v1/games/${id}/pass | - jq -r .status -