testeranto 0.79.39 → 0.79.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -123,30 +123,10 @@ var TaskManBackEnd_default = (partialConfig) => {
123
123
  const huddleModdle = ChatChannel.discriminator("Huddle", HuddleSchema);
124
124
  const roomsModel = ChatChannel.discriminator("Room", RoomSchema);
125
125
  app.get("/TaskManFrontend.js", (req, res) => {
126
- res.sendFile(`${process.cwd()}/TaskManFrontEnd.js`);
126
+ res.sendFile(`${process.cwd()}/docs/TaskManFrontEnd.js`);
127
127
  });
128
128
  app.get("/TaskManFrontEnd.css", (req, res) => {
129
- res.sendFile(`${process.cwd()}/TaskManFrontEnd.css`);
130
- });
131
- app.get("/", (req, res) => {
132
- res.send(`<!DOCTYPE html>
133
- <html lang="en">
134
-
135
- <head>
136
- <meta name="description" content="Webpage description goes here" />
137
- <meta charset="utf-8" />
138
- <meta name="viewport" content="width=device-width, initial-scale=1" />
139
- <meta name="author" content="" />
140
-
141
- <title>TaskMan</title>
142
-
143
- <link rel="stylesheet" href="/TaskManFrontEnd.css" />
144
- <script type="module" src="/TaskManFrontEnd.js"></script>
145
- </head>
146
-
147
- <body><div id="root">react is loading</div></body>
148
-
149
- </html>`);
129
+ res.sendFile(`${process.cwd()}/docs/TaskManFrontEnd.css`);
150
130
  });
151
131
  app.listen(port, () => {
152
132
  console.log(`Example app listening on port ${port}`);