Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
3e408d77
Commit
3e408d77
authored
Mar 07, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
serve static debomatic files
parent
2e44f299
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
debomatic-webui/app.js
debomatic-webui/app.js
+2
-0
debomatic-webui/config.js
debomatic-webui/config.js
+1
-0
No files found.
debomatic-webui/app.js
View file @
3e408d77
...
@@ -20,6 +20,8 @@ app.configure(function(){
...
@@ -20,6 +20,8 @@ app.configure(function(){
app
.
use
(
require
(
'
stylus
'
).
middleware
({
src
:
__dirname
+
'
/public
'
}));
app
.
use
(
require
(
'
stylus
'
).
middleware
({
src
:
__dirname
+
'
/public
'
}));
app
.
use
(
app
.
router
);
app
.
use
(
app
.
router
);
app
.
use
(
express
.
static
(
__dirname
+
'
/public
'
));
app
.
use
(
express
.
static
(
__dirname
+
'
/public
'
));
app
.
use
(
config
.
debomatic_webpath
,
express
.
directory
(
config
.
debomatic_path
));
app
.
use
(
config
.
debomatic_webpath
,
express
.
static
(
config
.
debomatic_path
));
});
});
app
.
configure
(
'
development
'
,
function
(){
app
.
configure
(
'
development
'
,
function
(){
...
...
debomatic-webui/config.js
View file @
3e408d77
var
config
=
{}
var
config
=
{}
config
.
debomatic_path
=
'
/srv/debomatic-amd64
'
config
.
debomatic_path
=
'
/srv/debomatic-amd64
'
config
.
debomatic_webpath
=
'
/debomatic
'
config
.
host
=
'
localhost
'
config
.
host
=
'
localhost
'
config
.
port
=
3000
config
.
port
=
3000
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment