mirror of
https://github.com/ION606/selmer-bot-website.git
synced 2026-05-14 22:16:54 +00:00
Stripe part 2
This commit is contained in:
@@ -47,6 +47,7 @@ async function getJSONResponse(body) {
|
|||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
// app.use(express.json());
|
// app.use(express.json());
|
||||||
|
app.use(express.static('/assets'));
|
||||||
|
|
||||||
app.post('/user', async(request, response) => {
|
app.post('/user', async(request, response) => {
|
||||||
|
|
||||||
@@ -129,6 +130,11 @@ app.get('/index.html', async (req, res) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
//Stripe stuff
|
||||||
|
app.get('/.well-known/apple-developer-merchantid-domain-association', async (req, res) => {
|
||||||
|
return res.sendFile('apple-developer-merchantid-domain-association', { root: '.' });
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
app.post('/sendData', async (req, res) => {
|
app.post('/sendData', async (req, res) => {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user