Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RPServer
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Josh Ji
RPServer
Commits
c2269460
An error occurred while fetching merge requests data.
Commit
c2269460
authored
2 years ago
by
Josh Ji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix front-end stuff
parent
2b24d6ec
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
3 deletions
+16
-3
src/main/java/com/example/rpserver/controller/Home.java
src/main/java/com/example/rpserver/controller/Home.java
+1
-1
src/main/java/com/example/rpserver/controller/Profile.java
src/main/java/com/example/rpserver/controller/Profile.java
+14
-0
src/main/resources/application.yml
src/main/resources/application.yml
+0
-2
src/main/resources/static/js/webauthn.js
src/main/resources/static/js/webauthn.js
+1
-0
No files found.
src/main/java/com/example/rpserver/controller/Home.java
View file @
c2269460
...
@@ -7,6 +7,6 @@ import org.springframework.web.bind.annotation.GetMapping;
...
@@ -7,6 +7,6 @@ import org.springframework.web.bind.annotation.GetMapping;
public
class
Home
{
public
class
Home
{
@GetMapping
(
"/"
)
@GetMapping
(
"/"
)
public
String
home
(){
public
String
home
(){
return
"index
.html
"
;
return
"index"
;
}
}
}
}
This diff is collapsed.
Click to expand it.
src/main/java/com/example/rpserver/controller/Profile.java
0 → 100644
View file @
c2269460
package
com.example.rpserver.controller
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
@Controller
public
class
Profile
{
@GetMapping
(
"/profile"
)
public
String
profile
(){
return
"profile"
;
}
}
This diff is collapsed.
Click to expand it.
src/main/resources/application.yml
View file @
c2269460
...
@@ -4,8 +4,6 @@ server:
...
@@ -4,8 +4,6 @@ server:
spring
:
spring
:
thymeleaf
:
thymeleaf
:
cache
:
false
cache
:
false
prefix
:
classpath:/templates/
suffix
:
encoding
:
UTF-8
encoding
:
UTF-8
mode
:
HTML
mode
:
HTML
web
:
web
:
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/static/js/webauthn.js
View file @
c2269460
...
@@ -573,6 +573,7 @@ function getAssertion() {
...
@@ -573,6 +573,7 @@ function getAssertion() {
if
(
result
&&
result
.
success
)
{
if
(
result
&&
result
.
success
)
{
showSuccessMsg
(
result
.
message
);
showSuccessMsg
(
result
.
message
);
location
.
assign
(
'
profile
'
);
if
(
'
handle
'
in
result
)
{
if
(
'
handle
'
in
result
)
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
fetchCredentials
();
fetchCredentials
();
...
...
This diff is collapsed.
Click to expand it.
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