This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const body = new FormData(); | |
body.append('name', activity_name); | |
body.append('data_type', 'gpx'); | |
body.append('external_id', activity_id); | |
body.append( | |
'file', | |
Buffer.from(gpxFileString, 'utf-8'), | |
`activity_${activity_id}.gpx` | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const body = new FormData(); | |
body.append('data_type', 'gpx'); | |
body.append('name', activity_name); | |
body.append('external_id', activity_id); | |
body.append('file', fs.readFileSync(gpxFilePath, { encoding: 'utf8' }), { | |
contentType: 'application/gpx+xml', | |
}); | |
const stravaUploadResponse = await fetch( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Spring Boot :: (v1.4.1.RELEASE) | |
2019-01-09 22:52:08.151 INFO 14216 --- [ main] br.com.alura.instalura.Boot : Starting Boot v1.0.0-SNAPSHOT on LAPTOP-8AD6HOSH with PID 14216 (D:\instalura\instalura-api-master\instalura.jar started by edils in D:\instalura\instalura-api-master) | |
2019-01-09 22:52:08.163 INFO 14216 --- [ main] br.com.alura.instalura.Boot : No active profile set, falling back to default profiles: default | |
2019-01-09 22:52:08.370 INFO 14216 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@4ccabbaa: startup date [Wed Jan 09 22:52:08 GFT 2019]; root of context hierarchy | |
2019-01-09 22:52:14.503 INFO 14216 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'corsFilter' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@charset "UTF-8"; | |
header { | |
position: relative; | |
} | |
.menu-opcoes { | |
position: absolute; | |
bottom: 0; | |
right: 0; |