diff --git a/_drafts/2023-07-23-future-post.md b/_drafts/2023-07-23-future-post.md index 8182a49..f4081ff 100644 --- a/_drafts/2023-07-23-future-post.md +++ b/_drafts/2023-07-23-future-post.md @@ -2,7 +2,7 @@ title: Future Post date: 2023-07-23 0:00:00 +0530 - +tags: [test, self-hosted] --- # Future Post Modified \ No newline at end of file diff --git a/_includes/likes-views.html b/_includes/likes-views.html index 079738b..7335558 100644 --- a/_includes/likes-views.html +++ b/_includes/likes-views.html @@ -42,9 +42,9 @@ } }); - var apiUrl = serviceUrl + "/GetHeaderData"; + var apiUrl = serviceUrl + "/GetMyLocation"; ajax(apiUrl) .then(function (result) { - console.log("Client Ip: " + result); + console.log(result); }) \ No newline at end of file diff --git a/db_scripts/mysql.sql b/db_scripts/mysql.sql index 83a459c..bec1ec0 100644 --- a/db_scripts/mysql.sql +++ b/db_scripts/mysql.sql @@ -4,11 +4,12 @@ CREATE USER blog_admin@'%' IDENTIFIED BY 'pass@1234'; -GRANT ALL PRIVILEGES ON blogDB.* TO blog_admin@'%'; +GRANT ALL PRIVILEGES ON blogDB.* TO blog_admin@'192.168.0.%'; +GRANT ALL PRIVILEGES ON blogDB.* TO blog_admin@'10.1.0.%'; SHOW GRANTS FOR blog_admin@'%'; -FLUSH PRIVILEGES +FLUSH PRIVILEGES; -- Create Counter Table