diff options
Diffstat (limited to 'www/scripts')
| -rw-r--r-- | www/scripts/constants.js | 4 | ||||
| -rw-r--r-- | www/scripts/onload.js | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/www/scripts/constants.js b/www/scripts/constants.js index b2b7894..1c2812e 100644 --- a/www/scripts/constants.js +++ b/www/scripts/constants.js @@ -1,2 +1,2 @@ -//const API_URL = "https://altafcreator.com/api" -const API_URL = "http://localhost:9091/api" +const API_URL = "https://altafcreator.com/api" +//const API_URL = "http://localhost:9091/api" diff --git a/www/scripts/onload.js b/www/scripts/onload.js index 1e15e8e..3bc9cf3 100644 --- a/www/scripts/onload.js +++ b/www/scripts/onload.js @@ -28,3 +28,8 @@ function library() { postList();
addNodes();
}
+
+function blogPost() {
+ postList(3);
+ addNodes();
+}
|
