Rename Apollo backend service to backend
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Fregat Apollo Backend
|
||||
# Fregat Backend
|
||||
|
||||
GraphQL backend for Fregat client cabinet and manager cabinet.
|
||||
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "fregat-apollo-backend",
|
||||
"name": "fregat-backend",
|
||||
"version": "0.1.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "fregat-apollo-backend",
|
||||
"name": "fregat-backend",
|
||||
"version": "0.1.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "fregat-apollo-backend",
|
||||
"name": "fregat-backend",
|
||||
"version": "0.1.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
|
||||
@@ -101,7 +101,7 @@ async function sendMaxMessage(channelId, message, options = {}) {
|
||||
body: JSON.stringify({
|
||||
channelId,
|
||||
text: message,
|
||||
source: 'fregat-apollo-backend',
|
||||
source: 'fregat-backend',
|
||||
...(options.buttonUrl
|
||||
? {
|
||||
button: {
|
||||
|
||||
@@ -585,7 +585,7 @@ app.use(
|
||||
|
||||
const port = Number(process.env.PORT ?? 4000);
|
||||
app.listen(port, () => {
|
||||
console.log(`apollo-backend running at http://localhost:${port}/graphql`);
|
||||
console.log(`backend running at http://localhost:${port}/graphql`);
|
||||
});
|
||||
|
||||
async function shutdown() {
|
||||
|
||||
Reference in New Issue
Block a user