Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polish-community-beth
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Beth Davies
polish-community-beth
Commits
60d9643e
Commit
60d9643e
authored
4 months ago
by
Richard Githuba
Browse files
Options
Downloads
Patches
Plain Diff
fixed having the post be in reverse order
parent
e9251e12
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/resources/application.properties
+1
-1
1 addition, 1 deletion
src/main/resources/application.properties
src/main/resources/static/js/feed/feed.js
+0
-1
0 additions, 1 deletion
src/main/resources/static/js/feed/feed.js
with
1 addition
and
2 deletions
src/main/resources/application.properties
+
1
−
1
View file @
60d9643e
...
...
@@ -9,7 +9,7 @@ spring.thymeleaf.layout-dialect.enabled=true
spring.datasource.url
=
jdbc:mariadb://localhost:3306/polish_community
spring.datasource.username
=
root
spring.datasource.password
=
comsc
spring.datasource.password
=
spring.jpa.show-sql
=
true
spring.jpa.properties.hibernate.format_sql
=
true
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/static/js/feed/feed.js
+
0
−
1
View file @
60d9643e
...
...
@@ -26,7 +26,6 @@ async function fetchPosts() {
const
response
=
await
fetch
(
API_BASE_URL
);
if
(
!
response
.
ok
)
throw
new
Error
(
'
Failed to fetch posts
'
);
posts
=
await
response
.
json
();
posts
.
reverse
();
renderPosts
();
}
catch
(
error
)
{
console
.
error
(
'
Error fetching posts:
'
,
error
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment