Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
update js sdk path in example, update grunt local task
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei Li committed Apr 11, 2014
1 parent 1debdb3 commit f4ce718
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ module.exports = function(grunt) {
grunt.log.writeln('Spawning server on port ' + port + ' in cwd ' + __dirname + ' using file ' + __dirname + '/' + script);
var env = {};
env.FH_PORT = port;
var server = spawn('/usr/bin/env', ['node', __dirname + '/' + script], {
var server = spawn('node', [__dirname + '/' + script], {
cwd: __dirname,
env: env
}).on('exit', function (code) {
Expand Down
2 changes: 1 addition & 1 deletion example/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html>
<head>
<script src="../dist/feedhenry-latest.js" type="text/javascript"></script>
<script src="../dist/feedhenry-forms.js" type="text/javascript"></script>
<script src="app.js" type="text/javascript"></script>
</head>
<body>
Expand Down

0 comments on commit f4ce718

Please sign in to comment.