Merge branch 'main' of https://git.d-popov.com/popov/mwhitnessing
This commit is contained in:
@ -1,9 +0,0 @@
|
||||
NEXT_PUBLIC_PROTOCOL=https
|
||||
NEXT_PUBLIC_PORT=
|
||||
NEXT_PUBLIC_HOST=sofia.mwhitnessing.com
|
||||
NEXTAUTH_URL= https://sofia.mwhitnessing.com
|
||||
|
||||
# Linux: `openssl rand -hex 32` or go to https://generate-secret.now.sh/32
|
||||
NEXTAUTH_SECRET=1dd8a5457970d1dda50600be28e935ecc4513ff27c49c431849e6746f158d638
|
||||
# ? do we need to duplicate this? already defined in the deoployment yml file
|
||||
DATABASE_URL=mysql://jwpwsofia:dwxhns9p9vp248V39xJyRthUsZ2gR9@mariadb:3306/jwpwsofia
|
@ -3,7 +3,6 @@ NEXT_PUBLIC_PORT=
|
||||
NEXT_PUBLIC_HOST=staging.mwhitnessing.com
|
||||
NEXTAUTH_URL= https://staging.mwhitnessing.com
|
||||
|
||||
|
||||
# Linux: `openssl rand -hex 32` or go to https://generate-secret.now.sh/32
|
||||
NEXTAUTH_SECRET=1dd8a5457970d1dda50600be28e935ecc4513ff27c49c431849e6746f158d638
|
||||
# ? do we need to duplicate this? already defined in the deoployment yml file
|
||||
|
@ -1,10 +1,9 @@
|
||||
NEXT_PUBLIC_PROTOCOL=https
|
||||
NEXT_PUBLIC_PORT=
|
||||
NEXT_PUBLIC_HOST=staging.mwhitnessing.com
|
||||
NEXTAUTH_URL= https://staging.mwhitnessing.com
|
||||
|
||||
NEXT_PUBLIC_HOST=sofia.mwhitnessing.com
|
||||
NEXTAUTH_URL= https://sofia.mwhitnessing.com
|
||||
|
||||
# Linux: `openssl rand -hex 32` or go to https://generate-secret.now.sh/32
|
||||
NEXTAUTH_SECRET=1dd8a5457970d1dda50600be28e935ecc4513ff27c49c431849e6746f158d638
|
||||
# ? do we need to duplicate this? already defined in the deoployment yml file
|
||||
DATABASE_URL=mysql://jwpwsofia:dwxhns9p9vp248V39xJyRthUsZ2gR9@mariadb-staging:3306/jwpwsofia
|
||||
DATABASE_URL=mysql://jwpwsofia:dwxhns9p9vp248V39xJyRthUsZ2gR9@mariadb:3306/jwpwsofia
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -26,5 +26,3 @@ next-cart-app.zip
|
||||
certificates
|
||||
content/output/*
|
||||
baseUrl.txt
|
||||
content/publisherShiftStats.json
|
||||
content/publisherShiftStats.json
|
||||
|
@ -544,7 +544,7 @@ export default function AvailabilityForm({ publisherId, existingItem, inline, on
|
||||
</label>
|
||||
</div>
|
||||
|
||||
{availability.repeatWeekly && (
|
||||
{false && availability.repeatWeekly && (
|
||||
|
||||
<div className="mb-4">
|
||||
<DatePicker label="До" value={availability.endDate} onChange={(value) => setAvailability({ ...availability, endDate: value })} />
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -432,9 +432,9 @@ async function GenerateSchedule(axios: Axios, date: string, copyFromPreviousMont
|
||||
if (!forDay) {
|
||||
const fs = require("fs");
|
||||
|
||||
fs.writeFileSync("./content/publisherShiftStats.json", JSON.stringify(publishers, null, 2));
|
||||
fs.writeFileSync("./content/publishersWithChangedPref.json", JSON.stringify(publishersWithChangedPref, null, 2));
|
||||
fs.writeFileSync("./content/missingPublishers.json", JSON.stringify(missingPublishers, null, 2));
|
||||
//fs.writeFileSync("./content/publisherShiftStats.json", JSON.stringify(publishers, null, 2));
|
||||
//fs.writeFileSync("./content/publishersWithChangedPref.json", JSON.stringify(publishersWithChangedPref, null, 2));
|
||||
//fs.writeFileSync("./content/missingPublishers.json", JSON.stringify(missingPublishers, null, 2));
|
||||
|
||||
console.log("###############################################");
|
||||
console.log(" DONE CREATING SCHEDULE FOR " + monthInfo.monthName + " " + monthInfo.year);
|
||||
|
Reference in New Issue
Block a user