Skip to content

Commit accbf92

Browse files
committed
DEV
1 parent ff220c3 commit accbf92

5 files changed

Lines changed: 669 additions & 534 deletions

File tree

README.md

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,50 @@
1-
# 👑 DEVKING: VS Code Dev Helpers 👑
2-
## Custom Extension: Commands, Macros, WebView, Sidebar, Panel
3-
4-
---
5-
6-
<a href='https://github.com/cogsmith/devking-vscode'><img src='https://github-readme-stats.vercel.app/api/pin/?username=cogsmith&repo=devking-vscode' align='right'></a>
7-
8-
#### <code><a href='https://github.com/cogsmith/devking-vscode'><img src='https://github.githubassets.com/images/icons/emoji/octocat.png' width='22'> [GITHUB REPO]</a></code>
9-
10-
#### <code><a href='https://marketplace.visualstudio.com/items?itemName=COGSMITH.devking-vscode'>🏬 [VISUAL STUDIO MARKETPLACE]</a></code>
11-
12-
#### <code><a href='https://github.com/cogsmith/devking-vscode/blob/main/extension.js'>🧾 [VIEW EXTENSION SOURCE CODE]</a></code>
13-
14-
#### <code><a href='https://github.com/cogsmith/devking-vscode/projects/1'>📅 [PROJECT TRACKER BOARD]</a></code>
15-
16-
---
17-
18-
[![](https://shields.io/github/package-json/v/cogsmith/devking-vscode?label=codebase)](http://github.com/cogsmith/devking-vscode)
19-
[![](https://shields.io/github/last-commit/cogsmith/devking-vscode)](https://github.com/cogsmith/devking-vscode/commits/main)
20-
21-
[![](https://shields.io/github/v/release/cogsmith/devking-vscode?label=latest+release)](https://github.com/cogsmith/devking-vscode/releases)
22-
[![](https://shields.io/github/release-date/cogsmith/devking-vscode?color=blue)](https://github.com/cogsmith/devking-vscode/releases)
23-
[![](https://shields.io/github/commits-since/cogsmith/devking-vscode/latest)](https://github.com/cogsmith/devking-vscode/commits/main)
24-
<!-- [![](https://shields.io/github/commit-activity/m/cogsmith/devking-vscode)](https://github.com/cogsmith/devking-vscode/commits/main) -->
25-
26-
[![](https://shields.io/github/license/cogsmith/devking-vscode?color=lightgray)](https://github.com/cogsmith/devking-vscode/blob/main/LICENSE)
27-
[![](https://shields.io/github/languages/code-size/cogsmith/devking-vscode)](http://github.com/cogsmith/devking-vscode)
28-
[![](https://shields.io/github/repo-size/cogsmith/devking-vscode)](http://github.com/cogsmith/devking-vscode)
29-
[![](https://shields.io/github/issues-raw/cogsmith/devking-vscode)](https://github.com/cogsmith/devking-vscode/issues)
30-
31-
---
32-
33-
# CONTRIBUTES
34-
35-
## COMMANDS
36-
DEVKING.PUSHDEV
37-
DEVKING.PUSHTAG
38-
DEVKING.WEBVIEW
39-
40-
---
41-
42-
# FEATURES
43-
44-
* Commands & Buttons For Quickly Pushing Code
45-
* IFRAME WebView Wrapper Command
46-
* Code Tweaks: Force EOL Settings
47-
48-
---
49-
50-
![SCREENSHOT](SCREENSHOT.PNG)
1+
# 👑 DEVKING: VS Code Dev Helpers 👑
2+
## Custom Extension: Commands, Macros, WebView, Sidebar, Panel
3+
4+
---
5+
6+
<a href='https://github.com/cogsmith/devking-vscode'><img src='https://github-readme-stats.vercel.app/api/pin/?username=cogsmith&repo=devking-vscode' align='right'></a>
7+
8+
#### <code><a href='https://github.com/cogsmith/devking-vscode'><img src='https://github.githubassets.com/images/icons/emoji/octocat.png' width='22'> [GITHUB REPO]</a></code>
9+
10+
#### <code><a href='https://marketplace.visualstudio.com/items?itemName=COGSMITH.devking-vscode'>🏬 [VISUAL STUDIO MARKETPLACE]</a></code>
11+
12+
#### <code><a href='https://github.com/cogsmith/devking-vscode/blob/main/extension.js'>🧾 [VIEW EXTENSION SOURCE CODE]</a></code>
13+
14+
#### <code><a href='https://github.com/cogsmith/devking-vscode/projects/1'>📅 [PROJECT TRACKER BOARD]</a></code>
15+
16+
---
17+
18+
[![](https://shields.io/github/package-json/v/cogsmith/devking-vscode?label=codebase)](http://github.com/cogsmith/devking-vscode)
19+
[![](https://shields.io/github/last-commit/cogsmith/devking-vscode)](https://github.com/cogsmith/devking-vscode/commits/main)
20+
21+
[![](https://shields.io/github/v/release/cogsmith/devking-vscode?label=latest+release)](https://github.com/cogsmith/devking-vscode/releases)
22+
[![](https://shields.io/github/release-date/cogsmith/devking-vscode?color=blue)](https://github.com/cogsmith/devking-vscode/releases)
23+
[![](https://shields.io/github/commits-since/cogsmith/devking-vscode/latest)](https://github.com/cogsmith/devking-vscode/commits/main)
24+
<!-- [![](https://shields.io/github/commit-activity/m/cogsmith/devking-vscode)](https://github.com/cogsmith/devking-vscode/commits/main) -->
25+
26+
[![](https://shields.io/github/license/cogsmith/devking-vscode?color=lightgray)](https://github.com/cogsmith/devking-vscode/blob/main/LICENSE)
27+
[![](https://shields.io/github/languages/code-size/cogsmith/devking-vscode)](http://github.com/cogsmith/devking-vscode)
28+
[![](https://shields.io/github/repo-size/cogsmith/devking-vscode)](http://github.com/cogsmith/devking-vscode)
29+
[![](https://shields.io/github/issues-raw/cogsmith/devking-vscode)](https://github.com/cogsmith/devking-vscode/issues)
30+
31+
---
32+
33+
# CONTRIBUTES
34+
35+
## COMMANDS
36+
DEVKING.PUSHDEV
37+
DEVKING.PUSHTAG
38+
DEVKING.WEBVIEW
39+
40+
---
41+
42+
# FEATURES
43+
44+
* Commands & Buttons For Quickly Pushing Code
45+
* IFRAME WebView Wrapper Command
46+
* Code Tweaks: Force EOL Settings
47+
48+
---
49+
50+
![SCREENSHOT](SCREENSHOT.PNG)

backend.js

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,20 @@ App.Main = function () {
2525
}
2626

2727
App.Routes = { ELSEROOT: true };
28-
App.Routes['/foo'] = (req, rep) => { rep.send('FOO'); };
28+
App.Routes['/'] = (req, rep) => { rep.send('DEVKING999'); };
2929

30-
App.Routes = {
31-
'/foo': (req, rep) => {
32-
let data = { action: 'FOO', rand: Math.random() };
33-
rep.view('template', data);
34-
}
35-
}
30+
App.Routes['/foo'] = (req, rep) => {
31+
let data = { action: 'FOO', rand: Math.random() };
32+
rep.view('template', data);
33+
};
3634

3735
App.Routes['/uptime'] = (req, rep) => { rep.send(Math.floor(process.uptime())); };
3836

37+
App.Routes['/event'] = (req, rep) => {
38+
rep.send(req.query);
39+
};
40+
41+
App.Routes['/test2'] = (req, rep) => { rep.send(req.query); };
3942

4043
App.Port = 31337;
4144
App.Run();

0 commit comments

Comments
 (0)