Changeset 24819a8
- Timestamp:
- 03/04/24 17:07:57 (15 months ago)
- Branches:
- main
- Children:
- a2c6c2b
- Parents:
- b78c0c1
- Files:
-
- 6 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
my-react-app/src/App.js
rb78c0c1 r24819a8 15 15 import RestaurantInfo from "./components/RestaurantInfo"; 16 16 import LoginForm from "./components/Login"; 17 import AppContent from "./components/AppContent"; 17 18 18 19 const App = () => { … … 34 35 <Route path="/error" element={<ErrorPage/>}/> 35 36 </Routes> 37 <AppContent/> 36 38 </Layout> 37 39 </Router> … … 311 313 } 312 314 313 314 315 export default App; -
my-react-app/src/components/Login.js
rb78c0c1 r24819a8 1 // Login.js2 1 import React, { useState } from 'react'; 3 2 import axios from 'axios'; -
pom.xml
rb78c0c1 r24819a8 69 69 </dependency> 70 70 <dependency> 71 <groupId>io.jsonwebtoken</groupId> 72 <artifactId>jjwt</artifactId> 73 <version>0.9.1</version> 74 </dependency> 75 <dependency> 71 76 <groupId>junit</groupId> 72 77 <artifactId>junit</artifactId> … … 92 97 <artifactId>spring-boot-starter-data-rest</artifactId> 93 98 </dependency> 99 <dependency> 100 <groupId>org.mapstruct</groupId> 101 <artifactId>mapstruct-processor</artifactId> 102 <version>1.5.3.Final</version> 103 </dependency> 94 104 </dependencies> 95 105 -
src/main/java/com/example/rezevirajmasa/demo/config/SecurityConfig.java
rb78c0c1 r24819a8 12 12 import org.springframework.security.web.SecurityFilterChain; 13 13 import org.springframework.security.web.util.matcher.AntPathRequestMatcher; 14 import org.springframework.context.annotation.Configuration;15 14 import org.springframework.web.servlet.config.annotation.CorsRegistry; 16 15 import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
Note:
See TracChangeset
for help on using the changeset viewer.